fipaos.agent.task.event
Class TaskEvent
- Direct Known Subclasses:
- ChildDoneEvent, ChildFailureEvent, ChildTimeoutEvent, ConversationUpdateEvent, InitialisedEvent
- public abstract class TaskEvent
This class represents an unprocessed event for a particular Task
Method Summary |
long | getTimeSinceTimestamp() Returns the amount of time in milliseconds since this event was created |
long | getTimestamp() Returns the time that this was created |
void | removeReferences() Removes all references to other objects to aid garbage collection |
getTimeSinceTimestamp
public long getTimeSinceTimestamp()
- Returns the amount of time in milliseconds since this event was created
- Returns: The time since this was created
getTimestamp
public long getTimestamp()
- Returns the time that this was created
- Returns: Time in milliseconds passed 1 Jan 1970
removeReferences
public void removeReferences()
- Removes all references to other objects to aid garbage collection