|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jgroup.arm.recovery.AbstractRecoveryStrategy jgroup.arm.recovery.KeepMinimalInPartition jgroup.arm.recovery.KeepInitialInPartition
public class KeepInitialInPartition
If the current number of replicas drops below the initial redundancy specified for this replica, and the number of available hosts in this partition is greater than the initial redundancy then create new replicas to compensate for the lost redundancy.
Field Summary |
---|
Fields inherited from class jgroup.arm.recovery.AbstractRecoveryStrategy |
---|
app, distScheme, missing |
Constructor Summary | |
---|---|
KeepInitialInPartition()
|
Method Summary | |
---|---|
protected int |
deltaRedundancy(AppConfig app)
Returns the number of replicas that needs to be recovered to maintain the initial redundancy level specified. |
Methods inherited from class jgroup.arm.recovery.KeepMinimalInPartition |
---|
handleFailure, relocateReplica, restartReplica |
Methods inherited from class jgroup.arm.recovery.AbstractRecoveryStrategy |
---|
initialize, needsRecovery, prepareRecovery |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeepInitialInPartition()
Method Detail |
---|
protected int deltaRedundancy(AppConfig app)
deltaRedundancy
in class AbstractRecoveryStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |