com.sssw.jbroker.api.cluster
Interface ClusterPolicy
- All Superinterfaces:
- IDLEntity, Object, Policy, PolicyOperations, Serializable
- public interface ClusterPolicy
- extends Policy
Policy used to specify Load balancing or Fail Over for POA objects.
To create a cluster Policy:
Any cpAny = orb.create_any();
cpAny.insert_Value(new ClusterPolicyValue(...));
ClusterPolicy cPolicy = (ClusterPolicy) orb.create_policy(
ClusterPolicy.POLICY_TYPE, cpAny);
The Clustering policy should only be used with LifespanPolicy=TRANSIENT
and IdAssignmentPolicy=USER_ID.
- Since:
- jBroker ORB 4.0
- See Also:
LifespanPolicy
,
IdAssignmentPolicy
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
POLICY_TYPE
public static final int POLICY_TYPE
- Policy Type.
- See Also:
PolicyOperations.policy_type()
,
Constant Field Values
value
public ClusterPolicyValue value()
- Get the Policy value.
exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.