org.gridkit.jvmtool.event
Class EventDecorator
java.lang.Object
org.gridkit.jvmtool.event.EventDecorator
public class EventDecorator
- extends Object
This utility class creates dynamic wrapper over Event
and replaces tags and counter with mutable versions;
- Author:
- Alexey Ragozin (alexey.ragozin@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventDecorator
public EventDecorator()
wrap
public <T extends Event> T wrap(T event)
timestamp
public void timestamp(long timestamp)
tags
public SimpleTagCollection tags()
counters
public SimpleCounterCollection counters()
Copyright © 2019. All Rights Reserved.