public class EventFactory extends EventFactoryBase
Constructor and Description |
---|
EventFactory() |
Modifier and Type | Method and Description |
---|---|
static AddEvent |
createAddEvent(java.lang.String name,
long timestamp,
int eventId)
Create a add event for a cull type
|
static DelEvent |
createDelEvent(java.lang.String name,
long timestamp,
int eventId)
Create a del event for a cull type
|
static ListEvent |
createListEvent(java.lang.String name,
long timestamp,
int eventId)
Create a list event for a cull type
|
static ModEvent |
createModEvent(java.lang.String name,
long timestamp,
int eventId)
Create a mod event for a cull type
|
createJobFinalUsageEvent, createJobFinishEvent, createJobPriorityModEvent, createJobUsageEvent, createQmasterGoesDownEvent, createQueueInstanceSuspendEvent, createQueueInstanceUnsuspendEvent, createSchedulerRunEvent, createShutdownEvent
public static ListEvent createListEvent(java.lang.String name, long timestamp, int eventId)
name
- name of the cull typetimestamp
- timestamp when the list event occuredeventId
- unique id of the eventpublic static AddEvent createAddEvent(java.lang.String name, long timestamp, int eventId)
name
- name of the cull typetimestamp
- timestamp when the add event occuredeventId
- unique id of the eventpublic static ModEvent createModEvent(java.lang.String name, long timestamp, int eventId)
name
- name of the cull typetimestamp
- timestamp when the mod event occuredeventId
- unique id of the eventpublic static DelEvent createDelEvent(java.lang.String name, long timestamp, int eventId)
name
- name of the cull typetimestamp
- timestamp when the del event occuredeventId
- unique id of the eventCopyright © 2007 Sun Microsystems, Inc. All rights reserved.