org.gridkit.jvmtool.event
Class GenericEvent
java.lang.Object
org.gridkit.jvmtool.event.GenericEvent
- All Implemented Interfaces:
- CommonEvent, Event, MultiCounterEvent, TaggedEvent, TimestampedEvent
- Direct Known Subclasses:
- ThreadSnapshotEventPojo
public class GenericEvent
- extends Object
- implements CommonEvent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericEvent
public GenericEvent()
GenericEvent
public GenericEvent(CommonEvent that)
timestamp
public long timestamp()
- Specified by:
timestamp in interface CommonEvent- Specified by:
timestamp in interface TimestampedEvent
timestamp
public void timestamp(long timestamp)
counters
public SimpleCounterCollection counters()
- Specified by:
counters in interface CommonEvent- Specified by:
counters in interface MultiCounterEvent
tags
public SimpleTagCollection tags()
- Specified by:
tags in interface CommonEvent- Specified by:
tags in interface TaggedEvent
copyCommonEventFrom
protected void copyCommonEventFrom(CommonEvent event)
Copyright © 2019. All Rights Reserved.