public class CacheOnErrorEvent
extends java.lang.Object
CacheEvent.Type
Constructor and Description |
---|
CacheOnErrorEvent(java.lang.String cacheName,
java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheName()
Returns the name of the Cache which has created the event.
|
java.time.ZonedDateTime |
getCreationTime()
Returns the creation time of Cache event.
|
CacheEvent.Type |
getEventType()
Returns the type of the Cache event.
|
java.lang.Throwable |
getThrowable() |
java.lang.String |
toString() |
public CacheOnErrorEvent(java.lang.String cacheName, java.lang.Throwable throwable)
public CacheEvent.Type getEventType()
CacheEvent
public java.lang.Throwable getThrowable()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getCacheName()
CacheEvent
getCacheName
in interface CacheEvent
public java.time.ZonedDateTime getCreationTime()
CacheEvent
getCreationTime
in interface CacheEvent