public class CacheEvent<K> extends Object implements ICacheEvent<K>
Constructor and Description |
---|
CacheEvent() |
Modifier and Type | Method and Description |
---|---|
long |
getCreateTime()
The time at which this object was created.
|
String |
getEventName() |
K |
getKey() |
String |
getOptionalDetails() |
String |
getRegion() |
String |
getSource() |
void |
setEventName(String eventName) |
void |
setKey(K key) |
void |
setOptionalDetails(String optionalDetails) |
void |
setRegion(String region) |
void |
setSource(String source) |
String |
toString() |
public CacheEvent()
public void setSource(String source)
setSource
in interface ICacheEvent<K>
source
- the source to setpublic String getSource()
getSource
in interface ICacheEvent<K>
public void setRegion(String region)
setRegion
in interface ICacheEvent<K>
region
- the region to setpublic String getRegion()
getRegion
in interface ICacheEvent<K>
public void setEventName(String eventName)
setEventName
in interface ICacheEvent<K>
eventName
- the eventName to setpublic String getEventName()
getEventName
in interface ICacheEvent<K>
public void setOptionalDetails(String optionalDetails)
setOptionalDetails
in interface ICacheEvent<K>
optionalDetails
- the optionalDetails to setpublic String getOptionalDetails()
getOptionalDetails
in interface ICacheEvent<K>
public void setKey(K key)
setKey
in interface ICacheEvent<K>
key
- the key to setpublic K getKey()
getKey
in interface ICacheEvent<K>
public long getCreateTime()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.