public class HazelcastLocalInstanceRegistrar
extends java.lang.Object
implements org.springframework.beans.factory.SmartInitializingSingleton
MultiMap to cache Hazelcast instances' socket
address information which used Hazelcast event-driven inbound channel adapter(s). It
also enables a Hazelcast MembershipListener to listen for
membership updates.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BEAN_NAME
The bean name for the
HazelcastLocalInstanceRegistrar instance. |
static java.lang.String |
SPRING_INTEGRATION_INTERNAL_CLUSTER_LOCK
The name for the Hazelcast Lock used for membership registration.
|
static java.lang.String |
SPRING_INTEGRATION_INTERNAL_CLUSTER_MULTIMAP
The name for the Hazelcast MultiMap used for membership registration.
|
| Constructor and Description |
|---|
HazelcastLocalInstanceRegistrar()
Construct
HazelcastLocalInstanceRegistrar based on the local JVM HazelcastInstances if any. |
HazelcastLocalInstanceRegistrar(com.hazelcast.core.HazelcastInstance hazelcastInstance)
Construct
HazelcastLocalInstanceRegistrar based on the provided HazelcastInstance. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSingletonsInstantiated() |
public static final java.lang.String BEAN_NAME
HazelcastLocalInstanceRegistrar instance.public static final java.lang.String SPRING_INTEGRATION_INTERNAL_CLUSTER_MULTIMAP
public static final java.lang.String SPRING_INTEGRATION_INTERNAL_CLUSTER_LOCK
public HazelcastLocalInstanceRegistrar()
HazelcastLocalInstanceRegistrar based on the local JVM HazelcastInstances if any.public HazelcastLocalInstanceRegistrar(com.hazelcast.core.HazelcastInstance hazelcastInstance)
HazelcastLocalInstanceRegistrar based on the provided HazelcastInstance.hazelcastInstance - the HazelcastInstance to use.