com.hazelcast.core
Interface Instance

All Known Subinterfaces:
AtomicNumber, ICollection<E>, ICountDownLatch, IdGenerator, IList<E>, ILock, IMap<K,V>, IQueue<E>, ISemaphore, ISet<E>, ITopic<E>, MultiMap<K,V>

public interface Instance


Nested Class Summary
static class Instance.InstanceType
           
 
Method Summary
 void destroy()
          Destroys this instance cluster-wide.
 Object getId()
          Returns the unique id for this instance.
 Instance.InstanceType getInstanceType()
          Returns instance type such as map, set, list, lock, topic, multimap, id generator
 

Method Detail

getInstanceType

Instance.InstanceType getInstanceType()
Returns instance type such as map, set, list, lock, topic, multimap, id generator

Returns:
instance type

destroy

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


getId

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

Returns:
id the of this instance


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.