public abstract class TransactionalMultiMapProxySupport<K,V> extends TransactionalDistributedObject<MultiMapService> implements TransactionalMultiMap<K,V>
Modifier and Type | Field and Description |
---|---|
protected MultiMapConfig |
config |
protected String |
name |
tx
PARTITIONING_STRATEGY
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the unique name for this DistributedObject.
|
String |
getServiceName()
Returns the service name for this object.
|
int |
size()
Returns the number of key-value pairs in the multimap.
|
toObjectIfNeeded
destroy, equals, getDistributedObjectName, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionId, getPartitionKey, getService, hashCode, invalidate, invokeOnPartition, postDestroy, preDestroy, throwNotActiveException, toData, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
get, put, remove, remove, valueCount
destroy, getPartitionKey
protected final String name
protected final MultiMapConfig config
public String getName()
DistributedObject
DistributedObjectUtil.getName(DistributedObject)
because this might be also a PrefixedDistributedObject
.getName
in interface DistributedObject
public final String getServiceName()
DistributedObject
getServiceName
in interface DistributedObject
getServiceName
in class AbstractDistributedObject<MultiMapService>
public int size()
TransactionalMultiMap
size
in interface BaseMultiMap<K,V>
size
in interface TransactionalMultiMap<K,V>
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.