public class ProxyQuorumPolicyBuilder extends ActionPolicyBuilder
ActionPolicyBuilder.ActionPolicyParameterizedBuilder, ActionPolicyBuilder.NullImplementationBuilder, ActionPolicyBuilder.QuorumRuleParameterizedBuilder.ReflectionSupport| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECT_RULE_NAME
Connect description and also xml configuration element name.
|
static int |
MASK_CONNECT
Connect quorum mask.
|
| Constructor and Description |
|---|
ProxyQuorumPolicyBuilder(int nRuleThreshold,
XmlElement xmlConfig)
Constructs
ProxyQuorumPolicyBuilder from configuration file context and xml element |
| Modifier and Type | Method and Description |
|---|---|
ActionPolicy |
realize(com.tangosol.config.expression.ParameterResolver resolver,
ClassLoader loader,
ParameterList listParameters)
Realizes (creates if necessary) an instance of a object of type T, using the provided
ParameterResolver
to resolve values any referenced Parameters. |
public static final int MASK_CONNECT
public static final String CONNECT_RULE_NAME
public ProxyQuorumPolicyBuilder(int nRuleThreshold,
XmlElement xmlConfig)
ProxyQuorumPolicyBuilder from configuration file context and xml elementnRuleThreshold - connect quorum rule thresholdxmlConfig - containing element proxy-cache-quorum-policypublic ActionPolicy realize(com.tangosol.config.expression.ParameterResolver resolver, ClassLoader loader, ParameterList listParameters) throws ConfigurationException
ParameterResolver
to resolve values any referenced Parameters.resolver - the ParameterResolver for resolving named Parametersloader - the ClassLoader for loading any necessary classes and if null the
ClassLoader used to load the builder will be used insteadlistParameters - an optional ParameterList (may be null) to be used for realizing the
instance, eg: used as constructor parametersConfigurationException