public abstract class TransactionalQueueProxySupport<E> extends TransactionalDistributedObject<QueueService> implements TransactionalQueue<E>
Modifier and Type | Field and Description |
---|---|
protected QueueConfig |
config |
protected String |
name |
protected int |
partitionId |
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 elements in this collection.
|
toObjectIfNeeded
destroy, equals, getDistributedObjectName, getNameAsPartitionAwareData, getNodeEngine, getOperationService, getPartitionId, getPartitionKey, getService, hashCode, invalidate, invokeOnPartition, isClusterVersionEqualTo, isClusterVersionGreaterOrEqual, isClusterVersionGreaterThan, isClusterVersionLessOrEqual, isClusterVersionLessThan, isClusterVersionUnknown, isClusterVersionUnknownOrGreaterOrEqual, isClusterVersionUnknownOrGreaterThan, isClusterVersionUnknownOrLessOrEqual, isClusterVersionUnknownOrLessThan, postDestroy, preDestroy, throwNotActiveException, toData, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
offer, offer, peek, peek, poll, poll, take
destroy, getPartitionKey
protected final String name
protected final int partitionId
protected final QueueConfig 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<QueueService>
public int size()
TransactionalQueue
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.