public class JVMService extends Object implements BootService, Runnable
JVMService represents a timer, which collectors JVM cpu, memory, memorypool and gc info, and send
the collected info to Collector through the channel provided by GRPCChannelManager| Constructor and Description |
|---|
JVMService() |
| Modifier and Type | Method and Description |
|---|---|
void |
boot() |
void |
onComplete() |
void |
prepare() |
void |
run() |
void |
shutdown() |
public void prepare()
throws Throwable
prepare in interface BootServiceThrowablepublic void boot()
throws Throwable
boot in interface BootServiceThrowablepublic void onComplete()
throws Throwable
onComplete in interface BootServiceThrowablepublic void shutdown()
throws Throwable
shutdown in interface BootServiceThrowableCopyright © 2019 The Apache Software Foundation. All rights reserved.