Package | Description |
---|---|
com.hazelcast.cache |
This package contains the public API extension for Hazelcast JCache,
the Hazelcast implementation of the JSR-107 commonly referred to as JCache.
|
com.hazelcast.client |
This package contains the serverside client functionality
|
com.hazelcast.client.console |
This package contains ClientConsoleApp
|
com.hazelcast.client.spi |
Contains classes/interfaces related to the Hazelcast client Service Provider Interface.
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.console |
This package contains classes related to ConsoleApp
|
com.hazelcast.core |
Provides core API interfaces/classes.
|
com.hazelcast.instance |
This package contains Hazelcast Instance functionality.
|
com.hazelcast.jet |
Hazelcast Jet is a distributed computation engine running on top of
Hazelcast IMDG technology.
|
com.hazelcast.osgi |
This package contains the OSGI functionality contract points for Hazelcast.
|
com.hazelcast.spi |
Provides interfaces/classes for the Hazelcast SPI for building distributed data structures and services.
|
Modifier and Type | Method and Description |
---|---|
HazelcastInstance |
HazelcastCacheManager.getHazelcastInstance()
Gets the underlying
HazelcastInstance implementation. |
Modifier and Type | Method and Description |
---|---|
static Properties |
HazelcastCachingProvider.propertiesByInstanceItself(HazelcastInstance instance)
Create the
Properties with the provided instance itself. |
Modifier and Type | Method and Description |
---|---|
static HazelcastInstance |
HazelcastClientManager.getHazelcastClientByName(String instanceName) |
static HazelcastInstance |
HazelcastClient.getHazelcastClientByName(String instanceName)
Returns an existing HazelcastClient with instanceName.
|
static HazelcastInstance |
HazelcastClient.newHazelcastClient() |
static HazelcastInstance |
HazelcastClient.newHazelcastClient(ClientConfig config) |
static HazelcastInstance |
HazelcastClientManager.newHazelcastClient(ClientConfig config,
HazelcastClientFactory hazelcastClientFactory) |
static HazelcastInstance |
HazelcastClientManager.newHazelcastClient(HazelcastClientFactory hazelcastClientFactory) |
Modifier and Type | Method and Description |
---|---|
static Collection<HazelcastInstance> |
HazelcastClientManager.getAllHazelcastClients() |
static Collection<HazelcastInstance> |
HazelcastClient.getAllHazelcastClients()
Gets an immutable collection of all client HazelcastInstances created in this JVM.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientOutOfMemoryHandler.onOutOfMemory(OutOfMemoryError oome,
HazelcastInstance[] hazelcastInstances) |
static void |
HazelcastClientManager.shutdown(HazelcastInstance instance) |
static void |
HazelcastClient.shutdown(HazelcastInstance instance)
Shutdown the provided client and remove it from the managed list
|
Modifier and Type | Method and Description |
---|---|
void |
ClientConsoleApp.setHazelcast(HazelcastInstance hazelcast) |
Constructor and Description |
---|
ClientConsoleApp(HazelcastInstance hazelcast) |
Modifier and Type | Method and Description |
---|---|
HazelcastInstance |
ProxyManager.getHazelcastInstance() |
HazelcastInstance |
ClientContext.getHazelcastInstance() |
Modifier and Type | Method and Description |
---|---|
void |
EntryListenerConfig.MapListenerToEntryListenerAdapter.setHazelcastInstance(HazelcastInstance hazelcastInstance) |
Modifier and Type | Method and Description |
---|---|
void |
ConsoleApp.setHazelcast(HazelcastInstance hazelcast) |
void |
SimulateLoadTask.setHazelcastInstance(HazelcastInstance hazelcastInstance) |
void |
Echo.setHazelcastInstance(HazelcastInstance hazelcastInstance) |
Constructor and Description |
---|
ConsoleApp(HazelcastInstance hazelcast) |
Modifier and Type | Method and Description |
---|---|
static HazelcastInstance |
Hazelcast.getHazelcastInstanceByName(String instanceName)
Returns an existing HazelcastInstance with instanceName.
|
static HazelcastInstance |
Hazelcast.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 a
classpath:... path. |
static HazelcastInstance |
Hazelcast.getOrCreateHazelcastInstance(Config config)
Gets or creates the HazelcastInstance with a certain name.
|
static HazelcastInstance |
Hazelcast.newHazelcastInstance()
Creates a new HazelcastInstance (a new node in a cluster).
|
static HazelcastInstance |
Hazelcast.newHazelcastInstance(Config config)
Creates a new HazelcastInstance (a new node in a cluster).
|
Modifier and Type | Method and Description |
---|---|
static Set<HazelcastInstance> |
Hazelcast.getAllHazelcastInstances()
Returns all active/running HazelcastInstances on this JVM.
|
Modifier and Type | Method and Description |
---|---|
void |
MapLoaderLifecycleSupport.init(HazelcastInstance hazelcastInstance,
Properties properties,
String mapName)
Initializes this MapLoader implementation.
|
abstract void |
OutOfMemoryHandler.onOutOfMemory(OutOfMemoryError oome,
HazelcastInstance[] hazelcastInstances)
When an
OutOfMemoryError is caught by Hazelcast threads,
this method is called for ALL HazelcastInstance s
knows by current JVM (actually ClassLoader). |
void |
HazelcastInstanceAware.setHazelcastInstance(HazelcastInstance hazelcastInstance)
Gets the HazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService.
|
protected void |
OutOfMemoryHandler.tryCloseConnections(HazelcastInstance hazelcastInstance)
Tries to close the server socket and connections to other HazelcastInstances.
|
protected void |
OutOfMemoryHandler.tryShutdown(HazelcastInstance hazelcastInstance)
Tries to shutdown HazelcastInstance forcefully;
including closing sockets and connections, stopping threads, etc.
|
Modifier and Type | Class and Description |
---|---|
class |
HazelcastInstanceImpl |
class |
HazelcastInstanceProxy
A proxy around the actual HazelcastInstanceImpl.
|
Modifier and Type | Method and Description |
---|---|
static HazelcastInstance |
HazelcastInstanceFactory.getHazelcastInstance(String instanceName) |
static HazelcastInstance |
HazelcastInstanceFactory.getOrCreateHazelcastInstance(Config config) |
static HazelcastInstance |
HazelcastInstanceFactory.newHazelcastInstance(Config config)
Creates a new Hazelcast instance.
|
static HazelcastInstance |
HazelcastInstanceFactory.newHazelcastInstance(Config config,
String instanceName,
NodeContext nodeContext)
Creates a new Hazelcast instance.
|
Modifier and Type | Method and Description |
---|---|
static Set<HazelcastInstance> |
HazelcastInstanceFactory.getAllHazelcastInstances() |
Modifier and Type | Method and Description |
---|---|
static void |
OutOfMemoryErrorDispatcher.deregisterClient(HazelcastInstance instance) |
static void |
OutOfMemoryErrorDispatcher.deregisterServer(HazelcastInstance instance) |
void |
DefaultOutOfMemoryHandler.onOutOfMemory(OutOfMemoryError oome,
HazelcastInstance[] hazelcastInstances) |
static void |
OutOfMemoryErrorDispatcher.registerClient(HazelcastInstance instance) |
static void |
OutOfMemoryErrorDispatcher.registerServer(HazelcastInstance instance) |
void |
MemberImpl.setHazelcastInstance(HazelcastInstance hazelcastInstance) |
static void |
OutOfMemoryHandlerHelper.tryCloseConnections(HazelcastInstance hazelcastInstance) |
static void |
OutOfMemoryHandlerHelper.tryShutdown(HazelcastInstance hazelcastInstance) |
Modifier and Type | Method and Description |
---|---|
HazelcastInstance |
JetInstance.getHazelcastInstance()
Returns the underlying Hazelcast IMDG instance used by Jet.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HazelcastOSGiInstance
Contract point for
HazelcastInstance implementations based on OSGi service. |
Modifier and Type | Method and Description |
---|---|
HazelcastInstance |
HazelcastOSGiInstance.getDelegatedInstance()
Gets the delegated (underlying)
HazelcastInstance . |
Modifier and Type | Method and Description |
---|---|
HazelcastInstance |
NodeEngine.getHazelcastInstance()
Returns the HazelcastInstance that this
NodeEngine belongs to. |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.