public final class HazelcastClientManager extends Object
Modifier and Type | Field and Description |
---|---|
static HazelcastClientManager |
INSTANCE
Global instance of
HazelcastClientManager |
Modifier and Type | Method and Description |
---|---|
static Collection<HazelcastInstance> |
getAllHazelcastClients() |
static HazelcastInstance |
getHazelcastClientByName(String instanceName) |
static HazelcastInstance |
newHazelcastClient(ClientConfig config,
HazelcastClientFactory hazelcastClientFactory) |
static HazelcastInstance |
newHazelcastClient(HazelcastClientFactory hazelcastClientFactory) |
static void |
setOutOfMemoryHandler(OutOfMemoryHandler outOfMemoryHandler) |
static void |
shutdown(HazelcastInstance instance) |
static void |
shutdown(String instanceName) |
static void |
shutdownAll() |
public static final HazelcastClientManager INSTANCE
HazelcastClientManager
public static HazelcastInstance newHazelcastClient(HazelcastClientFactory hazelcastClientFactory)
public static HazelcastInstance newHazelcastClient(ClientConfig config, HazelcastClientFactory hazelcastClientFactory)
public static HazelcastInstance getHazelcastClientByName(String instanceName)
public static Collection<HazelcastInstance> getAllHazelcastClients()
public static void shutdownAll()
public static void shutdown(HazelcastInstance instance)
public static void shutdown(String instanceName)
public static void setOutOfMemoryHandler(OutOfMemoryHandler outOfMemoryHandler)
Copyright © 2018 Hazelcast, Inc.. All rights reserved.