|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterFamilyNamePolicy<T>
Pluggable policy for creating a cross-cluster consistent but cross-deployment
unique name for the clustering information associated with a service. The
fundamental purpose of this policy is to create strings that can be passed
to FamilyWrapper.FamilyWrapper(String, java.util.List)
and
ClusteringTargetsRepository.initTarget(String, java.util.List)
.
The design intent of this interface is that different implementations will
handle the localTarget
param passed to
getClusterFamilyName(String, Object, String)
differently.
Method Summary | |
---|---|
String |
getClusterFamilyName(String serviceName,
T localTarget,
String partitionName)
Gets a name for the clustering information identified by the given parameters. |
Method Detail |
---|
String getClusterFamilyName(String serviceName, T localTarget, String partitionName)
serviceName
and the same partitionName
but different but logically related localTarget
values
must result in the same return value.
serviceName
- the name of the servicelocalTarget
- this node's cluster target for the servicepartitionName
- the name of the HAPartition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |