com.hazelcast.core
Interface DistributedObject

All Known Subinterfaces:
BaseMap<K,V>, BaseMultiMap<K,V>, BaseQueue<E>, IAtomicLong, ICollection<E>, ICountDownLatch, IdGenerator, IExecutorService, IList<E>, ILock, IMap<K,V>, IQueue<E>, ISemaphore, ISet<E>, ITopic<E>, MultiMap<K,V>, TransactionalList<E>, TransactionalMap<K,V>, TransactionalMultiMap<K,V>, TransactionalObject, TransactionalQueue<E>, TransactionalSet<E>
All Known Implementing Classes:
AbstractDistributedObject, ClientProxy

public interface DistributedObject

Base interface for all distributed objects.

See Also:
IMap, IQueue, MultiMap, ITopic, ILock, IExecutorService, TransactionalMap, TransactionalQueue, TransactionalMultiMap

Method Summary
 void destroy()
          Destroys this object cluster-wide.
 Object getId()
          Returns the unique id for this object.
 String getName()
           
 String getServiceName()
          Returns the service name for this object.
 

Method Detail

getId

Object getId()
Returns the unique id for this object.

Returns:
id the of this instance

getName

String getName()
Returns:
the name for this object.

getServiceName

String getServiceName()
Returns the service name for this object.


destroy

void destroy()
Destroys this object cluster-wide. Clears and releases all resources for this object.



Copyright © 2013 Hazelcast, Inc.. All Rights Reserved.