|
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.Base
com.tangosol.net.ConfigurableQuorumPolicy
com.tangosol.net.ConfigurableQuorumPolicy.WrapperQuorumPolicy
public static class ConfigurableQuorumPolicy.WrapperQuorumPolicy
WrapperQuorumPolicy is a ConfigurableQuorumPolicy that wraps an arbitrary ActionPolicy instance.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.tangosol.net.ConfigurableQuorumPolicy |
|---|
ConfigurableQuorumPolicy.ClusterQuorumPolicy, ConfigurableQuorumPolicy.MembershipQuorumPolicy, ConfigurableQuorumPolicy.PartitionedCacheQuorumPolicy, ConfigurableQuorumPolicy.ProxyQuorumPolicy, ConfigurableQuorumPolicy.WrapperQuorumPolicy |
| Field Summary | |
|---|---|
protected ActionPolicy |
m_policyThe wrapped ActionPolicy |
| Constructor Summary | |
|---|---|
ConfigurableQuorumPolicy.WrapperQuorumPolicy(ActionPolicy policy)Create a WrapperQuorumPolicy around the specified ActionPolicy, instantiated by the specified configuration. |
|
| Method Summary | |
|---|---|
ActionPolicy |
getPolicy()Return the wrapped ActionPolicy. |
java.lang.String |
getStatusDescription()Return a String that describes the current Quorum state. |
void |
init(Service service)Called when the specified service loads and configures this policy. |
boolean |
isAllowed(Service service, Action action)Evaluate if the specified action is currently allowed by this policy. |
java.lang.String |
toString()Return a human-readable String representation of this ActionPolicy. |
| Methods inherited from class com.tangosol.net.ConfigurableQuorumPolicy |
|---|
instantiateClusterPolicy, instantiatePartitionedCachePolicy, instantiateProxyPolicy |
| Field Detail |
|---|
protected ActionPolicy m_policy
| Constructor Detail |
|---|
public ConfigurableQuorumPolicy.WrapperQuorumPolicy(ActionPolicy policy)
policy - the ActionPolicy to wrap| Method Detail |
|---|
public ActionPolicy getPolicy()
public java.lang.String getStatusDescription()
getStatusDescription in class ConfigurableQuorumPolicypublic void init(Service service)
Note: A policy could be applied to multiple services.
service - the service that this policy applies to
public boolean isAllowed(Service service,
Action action)
Note: for forward compatibility, implementations should generally return true for actions that are not recognized.
service - the service that is performing the actionaction - the action that is being performedpublic java.lang.String toString()
Note: this method may be used to provide information about this ActionPolicy to management interfaces.
|
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 | |||||||