Class BaseDelayedEvent
java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.xivsupport.events.delaytest.BaseDelayedEvent
- All Implemented Interfaces:
Event
,Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
long
Methods inherited from class gg.xp.reevent.events.BaseEvent
effectiveTimeNow, getCreatedAt, getEffectiveHappenedAt, getEffectiveTimeSince, getEnqueuedAt, getHappenedAt, getParent, getPumpedAt, getPumpFinishedAt, getSourceEventHandler, isImported, setDelayedEnqueueAt, setDelayedEnqueueOffset, setDelayedEnqueueOffset, setEnqueuedAt, setHappenedAt, setImported, setParent, setPumpedAt, setPumpFinishedAt, setSourceEventHandler, setTimeSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.reevent.events.Event
combineWith, dumpFields, getThisOrParentOfType, shouldSave
-
Field Details
-
delayMs
protected final long delayMs
-
-
Constructor Details
-
BaseDelayedEvent
protected BaseDelayedEvent(long delayMs)
-
-
Method Details
-
getTimeBasis
public long getTimeBasis() -
delayedEnqueueAt
public long delayedEnqueueAt()- Specified by:
delayedEnqueueAt
in interfaceEvent
- Overrides:
delayedEnqueueAt
in classBaseEvent
- Returns:
- Timestamp (millis) for when the event should actually be enqueued. Used for delayed events.
-
delayedEnqueueAtFront
public boolean delayedEnqueueAtFront()- Returns:
- true if the event, when it is time for it to be enqueued, should jump the queue or not.
-