|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICacheEventLogger
This defines the behavior for event logging. Auxiliaries will send events to injected event loggers.
In general all ICache interface methods should call the logger if one is configured. This will be done on an ad hoc basis for now. Various auxiliaries may have additional events.
Field Summary | |
---|---|
static String |
DISPOSE_EVENT
ICache dispose |
static String |
GET_EVENT
ICache get |
static String |
GETMATCHING_EVENT
ICache getMatching |
static String |
GETMULTIPLE_EVENT
ICache getMultiple |
static String |
REMOVE_EVENT
ICache remove |
static String |
REMOVEALL_EVENT
ICache removeAll |
static String |
UPDATE_EVENT
ICache update |
Method Summary | |
---|---|
ICacheEvent |
createICacheEvent(String source,
String region,
String eventName,
String optionalDetails,
Serializable key)
Creates an event. |
void |
logApplicationEvent(String source,
String eventName,
String optionalDetails)
Logs an event. |
void |
logError(String source,
String eventName,
String errorMessage)
Logs an error. |
void |
logICacheEvent(ICacheEvent event)
Logs an event. |
Field Detail |
---|
static final String UPDATE_EVENT
static final String GET_EVENT
static final String GETMULTIPLE_EVENT
static final String GETMATCHING_EVENT
static final String REMOVE_EVENT
static final String REMOVEALL_EVENT
static final String DISPOSE_EVENT
Method Detail |
---|
ICacheEvent createICacheEvent(String source, String region, String eventName, String optionalDetails, Serializable key)
source
- - e.g. RemoteCacheServerregion
- - the name of the regioneventName
- - e.g. update, get, put, removeoptionalDetails
- - any extra messagekey
- - the cache key
void logICacheEvent(ICacheEvent event)
event
- - the event created in createICacheEventvoid logApplicationEvent(String source, String eventName, String optionalDetails)
source
- - e.g. RemoteCacheServereventName
- - e.g. update, get, put, removeoptionalDetails
- - any extra messagevoid logError(String source, String eventName, String errorMessage)
source
- - e.g. RemoteCacheServereventName
- - e.g. update, get, put, removeerrorMessage
- - any error message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |