public class NonEmbeddedGlowrootAgentInit extends Object implements GlowrootAgentInit
| Constructor and Description |
|---|
NonEmbeddedGlowrootAgentInit(String collectorAddress,
String collectorAuthority,
Class<? extends Collector> customCollectorClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitClose() |
void |
close() |
void |
init(File pluginsDir,
List<File> confDirs,
File logDir,
File tmpDir,
File glowrootJarFile,
Map<String,String> properties,
Instrumentation instrumentation,
PreCheckLoadedClasses.PreCheckClassFileTransformer preCheckClassFileTransformer,
String glowrootVersion,
Closeable agentDirLockCloseable) |
void |
initConfigForTests() |
void |
resetConfigForTests() |
@OnlyUsedByTests public void awaitClose() throws Exception
awaitClose in interface GlowrootAgentInitException@OnlyUsedByTests public void close() throws Exception
close in interface GlowrootAgentInitExceptionpublic void init(File pluginsDir, List<File> confDirs, File logDir, File tmpDir, File glowrootJarFile, Map<String,String> properties, Instrumentation instrumentation, PreCheckLoadedClasses.PreCheckClassFileTransformer preCheckClassFileTransformer, String glowrootVersion, Closeable agentDirLockCloseable) throws Exception
init in interface GlowrootAgentInitException@OnlyUsedByTests public void initConfigForTests() throws IOException
initConfigForTests in interface GlowrootAgentInitIOException@OnlyUsedByTests public void resetConfigForTests() throws Exception
resetConfigForTests in interface GlowrootAgentInitExceptionCopyright © 2011–2020 Glowroot contributors. All rights reserved.