Package org.opensolaris.os.dtrace
Class ConsumerEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.opensolaris.os.dtrace.ConsumerEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ConsumerEvent extends java.util.EventObject
An event indicating a state change in a DTraceConsumer
.- See Also:
ConsumerListener
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsumerEvent(java.lang.Object source, long timeNanos)
Creates a consumer event with the given sourceConsumer
and nanosecond timestamp.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTimestamp()
Gets the nanosecond timestamp of this event.
-