Click or drag to resize

IHazelcastInstance Interface

Hazelcast instance.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax
public interface IHazelcastInstance

The IHazelcastInstance type exposes the following members.

Methods
  NameDescription
Public methodAddDistributedObjectListener
Adds a Distributed Object listener which will be notified when a new IDistributedObject will be created or destroyed.
Public methodGetAtomicLong
Creates cluster-wide atomic long.
Public methodGetClientService
Returns the client service of this Hazelcast instance.
Public methodGetCluster
Returns the ICluster that this Hazelcast instance is part of.
Public methodGetCountDownLatch
Creates cluster-wide CountDownLatch.
Public methodGetDistributedObject<T>
Public methodGetDistributedObjects
Returns all IDistributedObject 's such as; queue, map, set, list, topic, lock, multimap.
Public methodGetIdGenerator
Creates cluster-wide unique IDs.
Public methodGetLifecycleService
Returns the lifecycle service for this instance.
Public methodGetList<T>
Returns the distributed list instance with the specified name.
Public methodGetLocalEndpoint
Returns the local Endpoint which this IHazelcastInstance is belongs to.
Public methodCode exampleGetLock
Returns the distributed lock instance for the specified key object.
Public methodCode exampleGetMap<TKey, TValue>
Returns the distributed map instance with the specified name.
Public methodGetMultiMap<TKey, TValue>
Returns the distributed multimap instance with the specified name.
Public methodGetName
Returns the name of this Hazelcast instance
Public methodGetPNCounter
PN (Positive-Negative) CRDT counter.
Public methodGetQueue<T>
Returns the distributed queue instance with the specified name.
Public methodGetReplicatedMap<TKey, TValue>
Returns the replicated map instance with the specified name.
Public methodGetRingbuffer<T>
Returns the distributed Ringbuffer instance with the specified name.
Public methodGetSemaphore
Creates cluster-wide semaphore.
Public methodGetSet<T>
Returns the distributed set instance with the specified name.
Public methodGetTopic<T>
Returns the distributed topic instance with the specified name.
Public methodGetUserContext
Returns a ConcurrentMap that can be used to add user-context to the IHazelcastInstance.
Public methodNewTransactionContext()
Creates a new ITransactionContext associated with the current thread using default options.
Public methodNewTransactionContext(TransactionOptions)
Creates a new ITransactionContext associated with the current thread with given options.
Public methodRemoveDistributedObjectListener
Removes the specified Distributed Object listener.
Public methodShutdown
Shuts down this IHazelcastInstance.
Top
Remarks
Hazelcast instance. Each Hazelcast instance is a member (node) in a cluster. Multiple Hazelcast instances can be created. Each Hazelcast instance has its own socket, threads.
See Also