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
Fields Modifier and Type Field Description protected com.tangosol.net.internal.QuorumInfo
m_infoQuorum
The "last good" service membership.protected PartitionSet
m_partsOrphan
The set of orphaned partitions.protected GUIDHelper.GUIDResolver
m_resolver
The GUID resolver.-
Fields inherited from interface com.tangosol.net.PartitionedService.PartitionedAction
DISTRIBUTE, RESTORE
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionSet
getOrphanedPartitions()
Return the set of orphaned partitions.com.tangosol.net.internal.QuorumInfo
getQuorumInfo()
Return the "last good" service membership info.GUIDHelper.GUIDResolver
getResolver()
Return the GUID resolver.
-
-
-
Field Detail
-
m_resolver
protected GUIDHelper.GUIDResolver m_resolver
The GUID resolver.
-
m_partsOrphan
protected PartitionSet m_partsOrphan
The set of orphaned partitions.
-
m_infoQuorum
protected com.tangosol.net.internal.QuorumInfo m_infoQuorum
The "last good" service membership.
-
-
Constructor Detail
-
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 Detail
-
getResolver
public GUIDHelper.GUIDResolver getResolver()
Return the GUID resolver.- Returns:
- the GUID resolver
-
getOrphanedPartitions
public PartitionSet 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
-
-