T
- Type of customized event data. It needs to be marshallable.public interface ClientCacheEntryCustomEvent<T> extends ClientEvent
Converter
instances generated by a org.infinispan.filter.ConverterFactory
.
As a result of this conversion, custom events are reprenseted by this class,
and are expected in methods annotation with either
ClientCacheEntryCreated
,
ClientCacheEntryModified
or,
ClientCacheEntryRemoved
.
The event parameter for any of these callbacks is always a ClientCacheEntryCustomEvent
,
and if needed, the event's ClientEvent.getType()
can be queried to find out whether the originating event was the result of create,
modified or removed.ClientEvent.Type
Modifier and Type | Method and Description |
---|---|
T |
getEventData()
Customized event data.
|
boolean |
isCommandRetried()
This will be true if the write command that caused this had to be retried
again due to a topology change.
|
getType
T getEventData()
boolean isCommandRetried()
Copyright © 2021 JBoss by Red Hat. All rights reserved.