Package com.tangosol.net
Class PartitionedService.PartitionRecoveryAction
java.lang.Object
com.tangosol.net.PartitionedService.PartitionRecoveryAction
- All Implemented Interfaces:
Action
,PartitionedService.PartitionedAction
- Enclosing interface:
PartitionedService
public static class PartitionedService.PartitionRecoveryAction
extends Object
implements PartitionedService.PartitionedAction
A PartitionedAction representing the recovery of orphaned partitions from
the persistent storage, or the assignment of empty partitions if the
persistent storage is unavailable or lost.
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.tangosol.net.internal.QuorumInfo
The "last good" service membership.protected PartitionSet
The set of orphaned partitions.protected GUIDHelper.GUIDResolver
The GUID resolver.Fields inherited from interface com.tangosol.net.PartitionedService.PartitionedAction
DISTRIBUTE, RESTORE
-
Constructor Summary
ConstructorDescriptionPartitionRecoveryAction
(PartitionSet partsOrphan, GUIDHelper.GUIDResolver resolver, com.tangosol.net.internal.QuorumInfo infoQuorum) Construct a PartitionRecoveryAction for the specified partitions, GUID resolver and the "last good" membership info. -
Method Summary
Modifier and TypeMethodDescriptionReturn the set of orphaned partitions.com.tangosol.net.internal.QuorumInfo
Return the "last good" service membership info.Return the GUID resolver.
-
Field Details
-
m_resolver
The GUID resolver. -
m_partsOrphan
The set of orphaned partitions. -
m_infoQuorum
protected com.tangosol.net.internal.QuorumInfo m_infoQuorumThe "last good" service membership.
-
-
Constructor Details
-
PartitionRecoveryAction
public PartitionRecoveryAction(PartitionSet partsOrphan, GUIDHelper.GUIDResolver resolver, com.tangosol.net.internal.QuorumInfo infoQuorum) Construct a PartitionRecoveryAction for the specified partitions, GUID resolver and the "last good" membership info.- Parameters:
partsOrphan
- the set of orphaned partitionsresolver
- the GUID resolverinfoQuorum
- the "last good" membership info
-
-
Method Details
-
getResolver
Return the GUID resolver.- Returns:
- the GUID resolver
-
getOrphanedPartitions
Return the set of orphaned partitions.- Returns:
- the set of orphaned partitions
-
getQuorumInfo
public com.tangosol.net.internal.QuorumInfo getQuorumInfo()Return the "last good" service membership info.- Returns:
- the "last good" service membership
-