Class AbstractServerDetector
- java.lang.Object
-
- com.heroku.agent.metrics.detector.AbstractServerDetector
-
- All Implemented Interfaces:
ServerDetector
- Direct Known Subclasses:
JBossDetector
public abstract class AbstractServerDetector extends Object implements ServerDetector
-
-
Constructor Summary
Constructors Constructor Description AbstractServerDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandetect()By default, do nothingvoidjvmAgentStartup(Instrumentation instrumentation)By default, do nothing during JVM agent startup
-
-
-
Method Detail
-
detect
public boolean detect()
By default, do nothing- Specified by:
detectin interfaceServerDetector
-
jvmAgentStartup
public void jvmAgentStartup(Instrumentation instrumentation)
By default, do nothing during JVM agent startup- Specified by:
jvmAgentStartupin interfaceServerDetector- Parameters:
instrumentation- the Instrumentation implementation
-
-