|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.NullImplementation.NullPartitionAssignmentStrategy
public static class NullImplementation.NullPartitionAssignmentStrategy
An implementation of PartitionAssignmentStrategy
that does nothing.
Field Summary | |
---|---|
static NullImplementation.NullPartitionAssignmentStrategy |
INSTANCE Singleton instance. |
Constructor Summary | |
---|---|
NullImplementation.NullPartitionAssignmentStrategy() |
Method Summary | |
---|---|
long |
analyzeDistribution() Analyze the distribution and return the desired time interval before the next distribution analysis. |
void |
analyzeOrphans(java.util.Map mapConstraints) Analyze and suggest the assignment of orphaned partitions (partitions without an active primary or backup owner) subject to the specified constraints. |
java.lang.String |
getDescription() Return a human-readable description of the state of the partition assignment. |
void |
init(DistributionManager manager) Initialize the PartitionAssignmentStrategy and bind it to the specified DistributionManager. |
Field Detail |
---|
public static final NullImplementation.NullPartitionAssignmentStrategy INSTANCE
Constructor Detail |
---|
public NullImplementation.NullPartitionAssignmentStrategy()
Method Detail |
---|
public void init(DistributionManager manager)
analysis
.init
in interface PartitionAssignmentStrategy
manager
- the DistributionManager that this strategy is bound topublic void analyzeOrphans(java.util.Map mapConstraints)
The strategy must provide suggestions for all orphaned partitions which are consistent with the supplied constraints. Failure to provide a complete set of valid suggestions may result in the loss of partition data.
analyzeOrphans
in interface PartitionAssignmentStrategy
mapConstraints
- the map of assignment constraints associating members with the set of partitions that they could be assigned ownership ofpublic long analyzeDistribution()
As a result of failover, partitions may become 'endangered', meaning that the necessary number of backups do not exist. Failure to suggest a distribution recovery plan for those partitions may result in the partition remaining in the endangered state. Additionally, ownership-enabled service members that are in the process of shutting down will wait until all owned partitions are transferred out. Failure to suggest a distribution plan may delay the exit of these leaving members.
The statistics and ownership information exposed by the DistributionManager will not mutate for the duration of this method call.
analyzeDistribution
in interface PartitionAssignmentStrategy
public java.lang.String getDescription()
getDescription
in interface PartitionAssignmentStrategy
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |