com.hazelcast.config
Class EntryListenerConfigReadOnly
java.lang.Object
com.hazelcast.config.ListenerConfig
com.hazelcast.config.EntryListenerConfig
com.hazelcast.config.EntryListenerConfigReadOnly
public class EntryListenerConfigReadOnly
- extends EntryListenerConfig
Configuration for EntryListener(Read Only)
EntryListenerConfigReadOnly
public EntryListenerConfigReadOnly(EntryListenerConfig config)
setImplementation
public EntryListenerConfig setImplementation(EntryListener implementation)
- Overrides:
setImplementation
in class EntryListenerConfig
setLocal
public EntryListenerConfig setLocal(boolean local)
- Overrides:
setLocal
in class EntryListenerConfig
setIncludeValue
public EntryListenerConfig setIncludeValue(boolean includeValue)
- Overrides:
setIncludeValue
in class EntryListenerConfig
setClassName
public ListenerConfig setClassName(String className)
- Description copied from class:
ListenerConfig
- Sets the class name of the EventListener.
If a implementation was set, it will be removed.
- Overrides:
setClassName
in class ListenerConfig
- Parameters:
className
- the name of the class of the EventListener.
- Returns:
- the updated ListenerConfig.
- See Also:
ListenerConfig.setImplementation(java.util.EventListener)
,
ListenerConfig.getClassName()
setImplementation
public ListenerConfig setImplementation(EventListener implementation)
- Description copied from class:
ListenerConfig
- Sets the EventListener implementation.
If a className was set, it will be removed.
- Overrides:
setImplementation
in class ListenerConfig
- Parameters:
implementation
- the EventListener implementation.
- Returns:
- the updated ListenerConfig.
- See Also:
ListenerConfig.setClassName(String)
,
ListenerConfig.getImplementation()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.