|
|||||||||
| 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 | |
|---|---|
java.lang.String |
getClusterFamilyName(java.lang.String serviceName,
T localTarget,
java.lang.String partitionName)
Gets a name for the clustering information identified by the given parameters. |
| Method Detail |
|---|
java.lang.String getClusterFamilyName(java.lang.String serviceName,
T localTarget,
java.lang.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 | ||||||||