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
public class DefaultKeyAssociator extends NaturalAssociator implements KeyAssociator
A DefaultKeyAssociator provides key associations on behalf of keys that implement theKeyAssociation
interface.- Since:
- Coherence 3.0
- Author:
- gg 2005.05.19
-
-
Field Summary
Fields Modifier and Type Field Description protected PartitionedService
m_service
The PartitionedService that this DefaultKeyAssociator is bound to.
-
Constructor Summary
Constructors Constructor Description DefaultKeyAssociator()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
m_service
protected PartitionedService m_service
The PartitionedService that this DefaultKeyAssociator is bound to.
-
-
Method Detail
-
init
public void init(PartitionedService service)
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
-
-