Package com.intergral.deep.plugin
Class JavaPlugin
- java.lang.Object
-
- com.intergral.deep.plugin.JavaPlugin
-
- All Implemented Interfaces:
ISnapshotDecorator,IDeepPlugin,Ordered
public class JavaPlugin extends Object implements IDeepPlugin, ISnapshotDecorator
This plugin captures the thread name of the thread the snapshot was cpatured on.
-
-
Constructor Summary
Constructors Constructor Description JavaPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resourcedecorate(ISettings settings, ISnapshotContext snapshot)This method is called by Deep after a snapshot is created.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.intergral.deep.agent.api.spi.IDeepPlugin
configure
-
-
-
-
Method Detail
-
decorate
public Resource decorate(ISettings settings, ISnapshotContext snapshot)
Description copied from interface:ISnapshotDecoratorThis method is called by Deep after a snapshot is created.This method is executed inline with the tracepoint code.
- Specified by:
decoratein interfaceISnapshotDecorator- Parameters:
settings- the current settings of Deepsnapshot- theISnapshotContextdescribing the snapshot- Returns:
- a new
Resourceto be added to the snapshot, ornullto do nothing
-
-