Class EventType
- java.lang.Object
-
- org.infinispan.notifications.cachelistener.filter.EventType
-
public class EventType extends Object
Enum that provides information to allow for an event to know which type and if this event was generated due to a retry usually caused by a topology change while replicating.- Since:
- 7.0
- Author:
- wburns
-
-
Constructor Summary
Constructors Constructor Description EventType(boolean retried, boolean pre, Event.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event.Type
getType()
boolean
isCreate()
boolean
isExpired()
boolean
isModified()
boolean
isPreEvent()
boolean
isRemove()
boolean
isRetry()
-
-
-
Constructor Detail
-
EventType
public EventType(boolean retried, boolean pre, Event.Type type)
-
-
Method Detail
-
isPreEvent
public boolean isPreEvent()
-
isRetry
public boolean isRetry()
-
getType
public Event.Type getType()
-
isCreate
public boolean isCreate()
-
isModified
public boolean isModified()
-
isRemove
public boolean isRemove()
-
isExpired
public boolean isExpired()
-
-