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 Resource
decorate(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:ISnapshotDecorator
This method is called by Deep after a snapshot is created.This method is executed inline with the tracepoint code.
- Specified by:
decorate
in interfaceISnapshotDecorator
- Parameters:
settings
- the current settings of Deepsnapshot
- theISnapshotContext
describing the snapshot- Returns:
- a new
Resource
to be added to the snapshot, ornull
to do nothing
-
-