public class EventUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DUMP_PATH_PROP |
static String |
DUMP_SIZE_PROP |
static String |
DUMP_SUBDIR |
| Constructor and Description |
|---|
EventUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDumpFileId() |
static String |
getDumpPathPrefix() |
static EventHandler |
getEventHandlerInstance() |
static long |
getmaxDumpFileSizeBytes() |
static void |
initEventHandlerInstance(int maxEntries,
int flushPeriodMs)
Initializes the common eventHandler instance for all sessions/threads
|
static void |
triggerBasicEvent(Event.EventType type,
String message,
boolean flushBuffer) |
static void |
triggerIncident(Incident incident) |
static void |
triggerStateTransition(BasicEvent.QueryState newState,
String identifier) |
public static final String DUMP_PATH_PROP
public static final String DUMP_SIZE_PROP
public static final String DUMP_SUBDIR
public static void initEventHandlerInstance(int maxEntries,
int flushPeriodMs)
maxEntries - - maximum number of buffered events before flushflushPeriodMs - - period of time between asynchronous buffer flushespublic static EventHandler getEventHandlerInstance()
public static void triggerBasicEvent(Event.EventType type, String message, boolean flushBuffer)
public static void triggerStateTransition(BasicEvent.QueryState newState, String identifier)
public static String getDumpPathPrefix()
public static String getDumpFileId()
public static long getmaxDumpFileSizeBytes()
public static void triggerIncident(Incident incident)
Copyright © 2022. All rights reserved.