com.hazelcast.cache.impl
Class CacheDistributedObject

java.lang.Object
  extended by com.hazelcast.spi.AbstractDistributedObject<ICacheService>
      extended by 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.


Field Summary
 
Fields inherited from class com.hazelcast.spi.AbstractDistributedObject
PARTITIONING_STRATEGY
 
Constructor Summary
protected CacheDistributedObject(String name, NodeEngine nodeEngine, ICacheService service)
           
 
Method Summary
 String getName()
          Returns the unique name for this DistributedObject.
 String getServiceName()
          Returns the service name for this object.
 boolean isDestroy()
           
protected  void postDestroy()
           
 
Methods inherited from class com.hazelcast.spi.AbstractDistributedObject
destroy, equals, getId, getNameAsPartitionAwareData, getNodeEngine, getPartitionKey, getService, hashCode, invalidate, throwNotActiveException, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheDistributedObject

protected CacheDistributedObject(String name,
                                 NodeEngine nodeEngine,
                                 ICacheService service)
Method Detail

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.