Package com.tangosol.net.partition
Class DefaultKeyAssociator
java.lang.Object
com.oracle.coherence.common.base.NaturalAssociator
com.tangosol.net.partition.DefaultKeyAssociator
- All Implemented Interfaces:
Associator,KeyAssociator
A DefaultKeyAssociator provides key associations on behalf of keys that
implement the
KeyAssociation interface.- Since:
- Coherence 3.0
- Author:
- gg 2005.05.19
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PartitionedServiceThe PartitionedService that this DefaultKeyAssociator is bound to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(PartitionedService service) Initialize the KeyAssociator and bind it to a PartitionedService.Methods inherited from class com.oracle.coherence.common.base.NaturalAssociator
getAssociatedKey, validateAssociatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.net.partition.KeyAssociator
getAssociatedKey
-
Field Details
-
m_service
The PartitionedService that this DefaultKeyAssociator is bound to.
-
-
Constructor Details
-
DefaultKeyAssociator
public DefaultKeyAssociator()Default constructor.
-
-
Method Details
-
init
Initialize the KeyAssociator and bind it to a PartitionedService.- Specified by:
initin interfaceKeyAssociator- Parameters:
service- the PartitionedService that this associator is being bound to
-