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.Instrumentationinstrumentationprivate static java.lang.StringNO_INSTRUMENTATION_SYSTEM_PROPERTY_NAME
-
Constructor Summary
Constructors Modifier Constructor Description privateSizeOfAgent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidagentmain(java.lang.String options, java.lang.instrument.Instrumentation inst)static java.lang.instrument.InstrumentationgetInstrumentation()static voidpremain(java.lang.String options, java.lang.instrument.Instrumentation inst)private static voidregisterSystemProperty()
-
-
-
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()
-
-