public class ListenerConfigHolder extends Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_CACHE_PARTITION_LOST_LISTENER_CONFIG |
static int |
TYPE_ENTRY_LISTENER_CONFIG |
static int |
TYPE_ITEM_LISTENER_CONFIG |
static int |
TYPE_LISTENER_CONFIG |
static int |
TYPE_MAP_PARTITION_LOST_LISTENER_CONFIG |
static int |
TYPE_QUORUM_LISTENER_CONFIG |
Constructor and Description |
---|
ListenerConfigHolder(int listenerType,
Data listenerImplementation) |
ListenerConfigHolder(int listenerType,
Data listenerImplementation,
boolean includeValue,
boolean local) |
ListenerConfigHolder(int listenerType,
String className) |
ListenerConfigHolder(int listenerType,
String className,
boolean includeValue,
boolean local) |
Modifier and Type | Method and Description |
---|---|
<T extends ListenerConfig> |
asListenerConfig(SerializationService serializationService) |
String |
getClassName() |
Data |
getListenerImplementation() |
int |
getListenerType() |
boolean |
isIncludeValue() |
boolean |
isLocal() |
static ListenerConfigHolder |
of(ListenerConfig config,
SerializationService serializationService) |
public static final int TYPE_LISTENER_CONFIG
public static final int TYPE_ITEM_LISTENER_CONFIG
public static final int TYPE_ENTRY_LISTENER_CONFIG
public static final int TYPE_QUORUM_LISTENER_CONFIG
public static final int TYPE_CACHE_PARTITION_LOST_LISTENER_CONFIG
public static final int TYPE_MAP_PARTITION_LOST_LISTENER_CONFIG
public ListenerConfigHolder(int listenerType, String className)
public ListenerConfigHolder(int listenerType, Data listenerImplementation)
public ListenerConfigHolder(int listenerType, String className, boolean includeValue, boolean local)
public ListenerConfigHolder(int listenerType, Data listenerImplementation, boolean includeValue, boolean local)
public String getClassName()
public Data getListenerImplementation()
public int getListenerType()
public boolean isIncludeValue()
public boolean isLocal()
public <T extends ListenerConfig> T asListenerConfig(SerializationService serializationService)
public static ListenerConfigHolder of(ListenerConfig config, SerializationService serializationService)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.