Uses of Interface
com.hazelcast.core.HazelcastInstance
Packages that use HazelcastInstance
Package
Description
This package contains the public API extension for Hazelcast JCache,
the Hazelcast implementation of the JSR-107 commonly referred to as JCache.
Contains classes/interfaces related to Client
This package contains classes related to ConsoleApp
Provides core API interfaces/classes.
This package contains code handling data connections.
Hazelcast Jet is a distributed computation engine running on top of
Hazelcast IMDG technology.
Jet's Core API.
Utilities for writing tests of Core API Processors.
Contains Hazelcast map module classes.
Implementation of
MapStore interface based on Hazelcast SQL engineThis package contains the OSGI functionality contract points for Hazelcast.
Provides interfaces/classes for Hazelcast security implementation.
Contains Hazelcast cache classes related to Spring.
Contains Hazelcast transaction classes for Spring Transaction API.
-
Uses of HazelcastInstance in com.hazelcast.cache
Methods in com.hazelcast.cache that return HazelcastInstanceModifier and TypeMethodDescriptionHazelcastCacheManager.getHazelcastInstance()Gets the underlyingHazelcastInstanceimplementation.Methods in com.hazelcast.cache with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionstatic PropertiesHazelcastCachingProvider.propertiesByInstanceItself(HazelcastInstance instance) Create thePropertieswith the provided instance itself. -
Uses of HazelcastInstance in com.hazelcast.client
Methods in com.hazelcast.client that return HazelcastInstanceModifier and TypeMethodDescriptionstatic HazelcastInstanceHazelcastClient.getHazelcastClientByName(String instanceName) Returns an existing HazelcastClient with instanceName.static HazelcastInstanceHazelcastClient.getOrCreateHazelcastClient()Gets or creates a new HazelcastInstance (a new client in a cluster) with the default XML configuration looked up in: System property: Hazelcast will first check if "hazelcast.client.config" system property is set to a file or aclasspath:...path.static HazelcastInstanceHazelcastClient.getOrCreateHazelcastClient(ClientConfig config) Gets or creates a new HazelcastInstance (a new client in a cluster) with a certain name.static HazelcastInstanceHazelcastClient.newHazelcastClient()Creates a new HazelcastInstance (a new client in a cluster).static HazelcastInstanceHazelcastClient.newHazelcastClient(ClientConfig config) Creates a new HazelcastInstance (a new client in a cluster).static HazelcastInstanceHazelcastClient.newHazelcastFailoverClient()Creates a client with cluster switch capability.static HazelcastInstanceHazelcastClient.newHazelcastFailoverClient(ClientFailoverConfig clientFailoverConfig) Creates a client with cluster switch capability.Methods in com.hazelcast.client that return types with arguments of type HazelcastInstanceModifier and TypeMethodDescriptionstatic Collection<HazelcastInstance>HazelcastClient.getAllHazelcastClients()Gets an immutable collection of all client HazelcastInstances created in this JVM.Methods in com.hazelcast.client with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionvoidClientOutOfMemoryHandler.onOutOfMemory(OutOfMemoryError oome, HazelcastInstance[] hazelcastInstances) static voidHazelcastClient.shutdown(HazelcastInstance instance) Shutdown the provided client and remove it from the managed list -
Uses of HazelcastInstance in com.hazelcast.console
Methods in com.hazelcast.console with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionvoidEcho.setHazelcastInstance(HazelcastInstance hazelcastInstance) voidSimulateLoadTask.setHazelcastInstance(HazelcastInstance hazelcastInstance) Constructors in com.hazelcast.console with parameters of type HazelcastInstance -
Uses of HazelcastInstance in com.hazelcast.core
Methods in com.hazelcast.core that return HazelcastInstanceModifier and TypeMethodDescriptionstatic HazelcastInstanceHazelcast.bootstrappedInstance()Returns either a local Hazelcast instance or a "bootstrapped" Hazelcast client for a remote Hazelcast cluster, depending on the context.static HazelcastInstanceHazelcast.getHazelcastInstanceByName(String instanceName) Returns an existing HazelcastInstance with instanceName.static HazelcastInstanceHazelcast.getOrCreateHazelcastInstance()Gets or creates a HazelcastInstance with the default XML configuration looked up in: System property: Hazelcast will first check if "hazelcast.config" system property is set to a file or aclasspath:...path.static HazelcastInstanceHazelcast.getOrCreateHazelcastInstance(Config config) Gets or creates the HazelcastInstance with a certain name.static HazelcastInstanceHazelcast.newHazelcastInstance()Creates a new HazelcastInstance (a new node in a cluster).static HazelcastInstanceHazelcast.newHazelcastInstance(Config config) Creates a new HazelcastInstance (a new node in a cluster).Methods in com.hazelcast.core that return types with arguments of type HazelcastInstanceModifier and TypeMethodDescriptionstatic Set<HazelcastInstance>Hazelcast.getAllHazelcastInstances()Returns all active/running HazelcastInstances on this JVM.Methods in com.hazelcast.core with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionabstract voidOutOfMemoryHandler.onOutOfMemory(OutOfMemoryError oome, HazelcastInstance[] hazelcastInstances) When anOutOfMemoryErroris caught by Hazelcast threads, this method is called for ALLHazelcastInstances knows by current JVM (actually ClassLoader).voidHazelcastInstanceAware.setHazelcastInstance(HazelcastInstance hazelcastInstance) Gets the HazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService.protected final voidOutOfMemoryHandler.tryCloseConnections(HazelcastInstance hazelcastInstance) Tries to close the server socket and connections to otherHazelcastInstances.protected final voidOutOfMemoryHandler.tryShutdown(HazelcastInstance hazelcastInstance) Tries to shutdownHazelcastInstanceforcefully; including closing sockets and connections, stopping threads, etc. -
Uses of HazelcastInstance in com.hazelcast.dataconnection
Methods in com.hazelcast.dataconnection that return HazelcastInstanceModifier and TypeMethodDescriptionHazelcastDataConnection.getClient()Return a clientHazelcastInstancebased on this data connection configuration. -
Uses of HazelcastInstance in com.hazelcast.jet
Methods in com.hazelcast.jet that return HazelcastInstanceConstructors in com.hazelcast.jet with parameters of type HazelcastInstanceModifierConstructorDescriptionJobStateSnapshot(HazelcastInstance instance, String name, com.hazelcast.jet.impl.SnapshotValidationRecord record) This constructor is a private API, useJetService.getJobStateSnapshot(String)instead. -
Uses of HazelcastInstance in com.hazelcast.jet.core
Methods in com.hazelcast.jet.core that return HazelcastInstanceModifier and TypeMethodDescriptionProcessorMetaSupplier.Context.hazelcastInstance()Returns the current Hazelcast instance. -
Uses of HazelcastInstance in com.hazelcast.jet.core.test
Methods in com.hazelcast.jet.core.test that return HazelcastInstanceMethods in com.hazelcast.jet.core.test with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionTestSupport.hazelcastInstance(HazelcastInstance hazelcastInstance) Use the given instance forProcessorMetaSupplier.Context.hazelcastInstance()TestProcessorContext.setHazelcastInstance(HazelcastInstance instance) TestProcessorMetaSupplierContext.setHazelcastInstance(HazelcastInstance instance) Sets the Hazelcast instance.TestProcessorSupplierContext.setHazelcastInstance(HazelcastInstance instance) -
Uses of HazelcastInstance in com.hazelcast.map
Methods in com.hazelcast.map with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionvoidMapLoaderLifecycleSupport.init(HazelcastInstance hazelcastInstance, Properties properties, String mapName) Initializes this MapLoader implementation. -
Uses of HazelcastInstance in com.hazelcast.mapstore
Methods in com.hazelcast.mapstore with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionvoidGenericMapLoader.init(HazelcastInstance instance, Properties properties, String mapName) -
Uses of HazelcastInstance in com.hazelcast.osgi
Subinterfaces of HazelcastInstance in com.hazelcast.osgiModifier and TypeInterfaceDescriptioninterfaceContract point forHazelcastInstanceimplementations based on OSGi service.Methods in com.hazelcast.osgi that return HazelcastInstanceModifier and TypeMethodDescriptionHazelcastOSGiInstance.getDelegatedInstance()Gets the delegated (underlying)HazelcastInstance. -
Uses of HazelcastInstance in com.hazelcast.security
Methods in com.hazelcast.security that return HazelcastInstanceMethods in com.hazelcast.security with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionvoidHazelcastInstanceCallback.setHazelcastInstance(HazelcastInstance hazelcastInstance) -
Uses of HazelcastInstance in com.hazelcast.spring.cache
Methods in com.hazelcast.spring.cache that return HazelcastInstanceMethods in com.hazelcast.spring.cache with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionstatic javax.cache.CacheManagerSpringHazelcastCachingProvider.getCacheManager(HazelcastInstance instance, String uriString, Properties props) Creates aCacheManageron an existing HazelcastInstance.voidHazelcastCacheManager.setHazelcastInstance(HazelcastInstance hazelcastInstance) Constructors in com.hazelcast.spring.cache with parameters of type HazelcastInstance -
Uses of HazelcastInstance in com.hazelcast.spring.transaction
Methods in com.hazelcast.spring.transaction with parameters of type HazelcastInstanceModifier and TypeMethodDescriptionstatic TransactionContextHazelcastTransactionManager.getTransactionContext(HazelcastInstance hazelcastInstance) Returns the transaction context for the given Hazelcast instance bounded to the current thread.Constructors in com.hazelcast.spring.transaction with parameters of type HazelcastInstance
HazelcastInstanceand thenJetServicefrom the product's entry point -Hazelcast-, we don't need to this back reference anymore.