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
Modifier and TypeFieldDescriptionprotected PartitionedService
The PartitionedService that this DefaultKeyAssociator is bound to. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(PartitionedService service) Initialize the KeyAssociator and bind it to a PartitionedService.Methods inherited from class com.oracle.coherence.common.base.NaturalAssociator
getAssociatedKey, validateAssociated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
init
in interfaceKeyAssociator
- Parameters:
service
- the PartitionedService that this associator is being bound to
-