IHazelcastInstance InterfaceHazelcast .Net Client Class Library
Hazelcast instance.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
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 methodGetDistributedObjectT
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 methodGetListT
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 exampleGetMapTKey, TValue
Returns the distributed map instance with the specified name.
Public methodGetMultiMapTKey, TValue
Returns the distributed multimap instance with the specified name.
Public methodGetName
Returns the name of this Hazelcast instance
Public methodGetQueueT
Returns the distributed queue instance with the specified name.
Public methodGetRingbufferT
Returns the distributed Ringbuffer instance with the specified name.
Public methodGetSemaphore
Creates cluster-wide semaphore.
Public methodGetSetT
Returns the distributed set instance with the specified name.
Public methodGetTopicT
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

Reference