Package org.ehcache.sizeof.impl
Class SizeOfAgent
- java.lang.Object
-
- org.ehcache.sizeof.impl.SizeOfAgent
-
public class SizeOfAgent extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.instrument.Instrumentation
instrumentation
private static java.lang.String
NO_INSTRUMENTATION_SYSTEM_PROPERTY_NAME
-
Constructor Summary
Constructors Modifier Constructor Description private
SizeOfAgent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
agentmain(java.lang.String options, java.lang.instrument.Instrumentation inst)
static java.lang.instrument.Instrumentation
getInstrumentation()
static void
premain(java.lang.String options, java.lang.instrument.Instrumentation inst)
private static void
registerSystemProperty()
-
-
-
Field Detail
-
instrumentation
private static volatile java.lang.instrument.Instrumentation instrumentation
-
NO_INSTRUMENTATION_SYSTEM_PROPERTY_NAME
private static final java.lang.String NO_INSTRUMENTATION_SYSTEM_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
premain
public static void premain(java.lang.String options, java.lang.instrument.Instrumentation inst)
-
agentmain
public static void agentmain(java.lang.String options, java.lang.instrument.Instrumentation inst)
-
registerSystemProperty
private static void registerSystemProperty()
-
getInstrumentation
public static java.lang.instrument.Instrumentation getInstrumentation()
-
-