Package com.tangosol.net
Class ConfigurableQuorumPolicy.ProxyQuorumPolicy
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.ConfigurableQuorumPolicy
com.tangosol.net.ConfigurableQuorumPolicy.MembershipQuorumPolicy
com.tangosol.net.ConfigurableQuorumPolicy.ProxyQuorumPolicy
- All Implemented Interfaces:
- ActionPolicy
- Enclosing class:
- ConfigurableQuorumPolicy
public static class ConfigurableQuorumPolicy.ProxyQuorumPolicy
extends ConfigurableQuorumPolicy.MembershipQuorumPolicy
ProxyQuorumPolicy defines a configurable quorum policy that is applicable
 to a proxy service.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.tangosol.net.ConfigurableQuorumPolicy.MembershipQuorumPolicyConfigurableQuorumPolicy.MembershipQuorumPolicy.QuorumListener, ConfigurableQuorumPolicy.MembershipQuorumPolicy.QuorumRuleNested classes/interfaces inherited from class com.tangosol.net.ConfigurableQuorumPolicyConfigurableQuorumPolicy.ClusterQuorumPolicy, ConfigurableQuorumPolicy.MembershipQuorumPolicy, ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy, ConfigurableQuorumPolicy.ProxyQuorumPolicyNested classes/interfaces inherited from class com.tangosol.util.BaseBase.LoggingWriter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intBitmask used to encode a client connection action.Fields inherited from class com.tangosol.net.ConfigurableQuorumPolicy.MembershipQuorumPolicym_aRules, m_ruleCurrent, m_service, m_setLeaving
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstruct a ProxyQuorumPolicy with the specified rule.
- 
Method SummaryModifier and TypeMethodDescriptionReturn a String that describes the current Quorum state.booleanEvaluate if the specified action is currently allowed by this policy.Methods inherited from class com.tangosol.net.ConfigurableQuorumPolicy.MembershipQuorumPolicyconfigure, getCurrentRule, getLeavingMembers, getPolicyPopulation, getQuorumRules, getRule, getService, init, instantiateMemberListener, setCurrentRule, setQuorumRules, setService, toString, updateCurrentRuleMethods inherited from class com.tangosol.net.ConfigurableQuorumPolicyinstantiateClusterPolicy, instantiatePartitionedCachePolicy, instantiateProxyPolicyMethods inherited from class com.tangosol.util.Baseazzert, 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, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mergeArray, mergeBooleanArray, mergeByteArray, mergeCharArray, mergeDoubleArray, mergeFloatArray, mergeIntArray, mergeLongArray, 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
- 
Field Details- 
MASK_CONNECTpublic static final int MASK_CONNECTBitmask used to encode a client connection action.- See Also:
 
 
- 
- 
Constructor Details- 
ProxyQuorumPolicyConstruct a ProxyQuorumPolicy with the specified rule.- Parameters:
- aRule- the quorum rule
 
 
- 
- 
Method Details- 
getStatusDescriptionReturn a String that describes the current Quorum state.- Specified by:
- getStatusDescriptionin class- ConfigurableQuorumPolicy
- Returns:
- a String describing the allowed actions in the current state
 
- 
isAllowedEvaluate if the specified action is currently allowed by this policy.Note: for forward compatibility, implementations should generally return true for actions that are not recognized. - Parameters:
- service- the service that is performing the action
- action- the action that is being performed
- Returns:
- true iff the specified action is currently allowed by this policy
 
 
-