public abstract class ConfigurableQuorumPolicy extends Base implements ActionPolicy
ActionPolicy
for
services based on the cluster-configuration.Modifier and Type | Class and Description |
---|---|
static class |
ConfigurableQuorumPolicy.ClusterQuorumPolicy
ClusterQuorumPolicy defines an action policy that is applicable to the
cluster.
|
static class |
ConfigurableQuorumPolicy.MembershipQuorumPolicy
MembershipQuorumPolicy is a quorum policy that is stateless and based
solely on service membership sizes.
|
static class |
ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy
PartitionedCacheQuorumPolicy defines a configurable quorum policy that is
applicable to a DistributedCacheService.
|
static class |
ConfigurableQuorumPolicy.ProxyQuorumPolicy
ProxyQuorumPolicy defines a configurable quorum policy that is applicable
to a proxy service.
|
Base.LoggingWriter, Base.StackFrame
Modifier | Constructor and Description |
---|---|
protected |
ConfigurableQuorumPolicy()
Create a ConfigurableQuorumPolicy.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getStatusDescription()
Return a String that describes the current Quorum state.
|
static ConfigurableQuorumPolicy.ClusterQuorumPolicy |
instantiateClusterPolicy(Map<String,Integer> mapQuorum)
Instantiate an action policy for the a cluster service.
|
static ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy |
instantiatePartitionedCachePolicy(ConfigurableQuorumPolicy.MembershipQuorumPolicy.QuorumRule[] aRule,
AddressProvider provider)
Instantiate an action policy for a PartitionedCache service.
|
static ConfigurableQuorumPolicy.ProxyQuorumPolicy |
instantiateProxyPolicy(ConfigurableQuorumPolicy.MembershipQuorumPolicy.QuorumRule[] aRule)
Instantiate an action policy for the a proxy service.
|
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, isAllowed, toString
protected ConfigurableQuorumPolicy()
public abstract String getStatusDescription()
public static ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy instantiatePartitionedCachePolicy(ConfigurableQuorumPolicy.MembershipQuorumPolicy.QuorumRule[] aRule, AddressProvider provider)
aRule
- the quorum rule to be used for this policyprovider
- the address-provider for recovery addressespublic static ConfigurableQuorumPolicy.ProxyQuorumPolicy instantiateProxyPolicy(ConfigurableQuorumPolicy.MembershipQuorumPolicy.QuorumRule[] aRule)
aRule
- the quorum rule to be used for this policypublic static ConfigurableQuorumPolicy.ClusterQuorumPolicy instantiateClusterPolicy(Map<String,Integer> mapQuorum)
mapQuorum
- the map of quorum count keyed by member role.