@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ClientListener
ClientCacheEntryCreated
,
ClientCacheEntryModified
,
ClientCacheEntryRemoved
,
ClientCacheFailover
Modifier and Type | Optional Element and Description |
---|---|
String |
converterFactoryName
Defines the converter factory for this client listener.
|
String |
filterFactoryName
Defines the key/value filter factory for this client listener.
|
boolean |
includeCurrentState
This flag enables cached state to be sent back to remote clients when
either adding a cache listener for the first time, or when the node where
a remote listener is registered changes.
|
boolean |
useRawData
This option affects the type of the parameters received by a configured
filter and/or converter.
|
public abstract String filterFactoryName
public abstract String converterFactoryName
ClientCacheEntryCreated
,
ClientCacheEntryModified
,
and ClientCacheEntryRemoved
callbacks receive ClientCacheEntryCustomEvent
instances as parameters instead of their corresponding create/modified/removed
event. Event customization helps reduce the payload of events, or
increase to send even more information back to the client listener.
By default, no event customization is applied.public abstract boolean useRawData
public abstract boolean includeCurrentState
Copyright © 2021 JBoss by Red Hat. All rights reserved.