public interface Resource
The class that is interested in receiving a checkpoint/restore notification
implements this interface, and the object created with that class is
registered with a Context
, using register
method.
Modifier and Type | Method and Description |
---|---|
void |
afterRestore(Context<? extends Resource> context)
Invoked by a
Context as a notification about restore. |
void |
beforeCheckpoint(Context<? extends Resource> context)
Invoked by a
Context as a notification about checkpoint. |
Copyright © 2022. All rights reserved.