Interface TransferEvent.RecoveryTransferEvent
- All Superinterfaces:
Event<TransferEvent.Type>
,Event<TransferEvent.Type>
,TransferEvent
- Enclosing interface:
TransferEvent
A RecoveryTransferEvent is raised due to the recovery of a partition
from a persistent store.
The cause of this event can be due to either active persistence recovery or recovery from a snapshot. This can be distinguished by the snapshot name being null or non-null for active persistence recovery or snapshot recovery respectively.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.net.events.partition.TransferEvent
TransferEvent.RecoveryTransferEvent, TransferEvent.Type
-
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the snapshot if the partition was recovered from a snapshot and not active persistence.Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptor
Methods inherited from interface com.tangosol.net.events.partition.Event
getDispatcher, getService
Methods inherited from interface com.tangosol.net.events.partition.TransferEvent
getEntries, getLocalMember, getPartitionId, getRemoteMember
-
Method Details
-
getSnapshotName
String getSnapshotName()Return the name of the snapshot if the partition was recovered from a snapshot and not active persistence.- Returns:
- the name of the snapshot the partition was recovered from or null in the case of active persistence
-