com.hazelcast.cache.impl
Class CacheDistributedObject
java.lang.Object
com.hazelcast.spi.AbstractDistributedObject<ICacheService>
com.hazelcast.cache.impl.CacheDistributedObject
- All Implemented Interfaces:
- DistributedObject
public class CacheDistributedObject
- extends AbstractDistributedObject<ICacheService>
Basic distributed object which serves as an accessor to CacheService and NodeEngine.
Warning: DO NOT use this distributed object directly, instead use CacheProxy through
CacheManager.
| Methods inherited from class com.hazelcast.spi.AbstractDistributedObject |
destroy, equals, getId, getNameAsPartitionAwareData, getNodeEngine, getPartitionKey, getService, hashCode, invalidate, throwNotActiveException, toString |
CacheDistributedObject
protected CacheDistributedObject(String name,
NodeEngine nodeEngine,
ICacheService service)
getName
public String getName()
- Description copied from interface:
DistributedObject
- Returns the unique name for this DistributedObject. The returned value will never be null.
- Returns:
- the unique name for this object.
getServiceName
public String getServiceName()
- Description copied from interface:
DistributedObject
- Returns the service name for this object.
- Specified by:
getServiceName in interface DistributedObject- Specified by:
getServiceName in class AbstractDistributedObject<ICacheService>
- Returns:
- the service name for this object.
postDestroy
protected void postDestroy()
- Overrides:
postDestroy in class AbstractDistributedObject<ICacheService>
isDestroy
public boolean isDestroy()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.