org.gridkit.jvmtool.event
Class GenericEvent

java.lang.Object
  extended by org.gridkit.jvmtool.event.GenericEvent
All Implemented Interfaces:
CommonEvent, Event, MultiCounterEvent, TaggedEvent, TimestampedEvent
Direct Known Subclasses:
ThreadSnapshotEventPojo

public class GenericEvent
extends Object
implements CommonEvent


Constructor Summary
GenericEvent()
           
GenericEvent(CommonEvent that)
           
 
Method Summary
protected  void copyCommonEventFrom(CommonEvent event)
           
 SimpleCounterCollection counters()
           
 SimpleTagCollection tags()
           
 long timestamp()
           
 void timestamp(long timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericEvent

public GenericEvent()

GenericEvent

public GenericEvent(CommonEvent that)
Method Detail

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.