Class ApplySnapshot
- java.lang.Object
-
- org.opendaylight.controller.cluster.raft.base.messages.ApplySnapshot
-
- All Implemented Interfaces:
ControlMessage
public class ApplySnapshot extends Object implements ControlMessage
Internal message, issued by follower to its actor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ApplySnapshot.Callback
-
Constructor Summary
Constructors Constructor Description ApplySnapshot(@NonNull Snapshot snapshot)
ApplySnapshot(@NonNull Snapshot snapshot, @NonNull ApplySnapshot.Callback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull ApplySnapshot.Callback
getCallback()
@NonNull Snapshot
getSnapshot()
-
-
-
Constructor Detail
-
ApplySnapshot
public ApplySnapshot(@NonNull Snapshot snapshot)
-
ApplySnapshot
public ApplySnapshot(@NonNull Snapshot snapshot, @NonNull ApplySnapshot.Callback callback)
-
-
Method Detail
-
getSnapshot
public @NonNull Snapshot getSnapshot()
-
getCallback
public @NonNull ApplySnapshot.Callback getCallback()
-
-