The IHazelcastInstance type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddDistributedObjectListener |
Adds a Distributed Object listener which will be notified when a
new
IDistributedObject
will be created or destroyed.
| |
GetAtomicLong | Creates cluster-wide atomic long. | |
GetClientService | Returns the client service of this Hazelcast instance. | |
GetCluster | Returns the ICluster that this Hazelcast instance is part of. | |
GetCountDownLatch | Creates cluster-wide CountDownLatch. | |
GetDistributedObjectT | ||
GetDistributedObjects |
Returns all
IDistributedObject
's such as; queue, map, set, list, topic, lock, multimap.
| |
GetIdGenerator | Creates cluster-wide unique IDs. | |
GetLifecycleService | Returns the lifecycle service for this instance. | |
GetListT | Returns the distributed list instance with the specified name. | |
GetLocalEndpoint | Returns the local Endpoint which this IHazelcastInstance is belongs to. | |
GetLock | Returns the distributed lock instance for the specified key object. | |
GetMapTKey, TValue |
Returns the distributed map instance with the specified name.
| |
GetMultiMapTKey, TValue | Returns the distributed multimap instance with the specified name. | |
GetName | Returns the name of this Hazelcast instance | |
GetQueueT |
Returns the distributed queue instance with the specified name.
| |
GetRingbufferT | Returns the distributed Ringbuffer instance with the specified name. | |
GetSemaphore | Creates cluster-wide semaphore. | |
GetSetT | Returns the distributed set instance with the specified name. | |
GetTopicT | Returns the distributed topic instance with the specified name. | |
GetUserContext | Returns a ConcurrentMap that can be used to add user-context to the IHazelcastInstance. | |
NewTransactionContext | Creates a new ITransactionContext associated with the current thread using default options. | |
NewTransactionContext(TransactionOptions) | Creates a new ITransactionContext associated with the current thread with given options. | |
RemoveDistributedObjectListener | Removes the specified Distributed Object listener. | |
Shutdown | Shuts down this IHazelcastInstance. |
See Also