public class LiveJvmServiceImpl extends Object implements LiveJvmService
LiveJvmService.AgentNotConnectedException, LiveJvmService.AgentUnsupportedOperationException, LiveJvmService.DirectoryDoesNotExistException, LiveJvmService.UnavailableDueToDockerAlpinePidOneException, LiveJvmService.UnavailableDueToRunningInJ9JvmException, LiveJvmService.UnavailableDueToRunningInJreException| Constructor and Description |
|---|
LiveJvmServiceImpl(LazyPlatformMBeanServer lazyPlatformMBeanServer,
TransactionRegistry transactionRegistry,
TraceCollector traceCollector,
DownstreamServiceOuterClass.Availability threadAllocatedBytesAvailability,
ConfigService configService,
File glowrootJarFile,
Clock clock) |
public LiveJvmServiceImpl(LazyPlatformMBeanServer lazyPlatformMBeanServer, TransactionRegistry transactionRegistry, TraceCollector traceCollector, DownstreamServiceOuterClass.Availability threadAllocatedBytesAvailability, ConfigService configService, File glowrootJarFile, Clock clock)
public void forceGC(String agentId) throws Exception
forceGC in interface LiveJvmServiceExceptionpublic long getAvailableDiskSpace(String agentId, String directory) throws LiveJvmService.DirectoryDoesNotExistException
getAvailableDiskSpace in interface LiveJvmServiceLiveJvmService.DirectoryDoesNotExistExceptionpublic DownstreamServiceOuterClass.Capabilities getCapabilities(String agentId)
getCapabilities in interface LiveJvmServicepublic long getCurrentTime(String agentId)
getCurrentTime in interface LiveJvmServicepublic String getJstack(String agentId) throws Exception
getJstack in interface LiveJvmServiceExceptionpublic List<String> getMatchingMBeanObjectNames(String agentId, String partialObjectName, int limit) throws Exception
getMatchingMBeanObjectNames in interface LiveJvmServiceExceptionpublic DownstreamServiceOuterClass.MBeanDump getMBeanDump(String agentId, DownstreamServiceOuterClass.MBeanDumpRequest.MBeanDumpKind mbeanDumpKind, List<String> objectNames) throws Exception
getMBeanDump in interface LiveJvmServiceExceptionpublic DownstreamServiceOuterClass.MBeanMeta getMBeanMeta(String agentId, String mbeanObjectName) throws Exception
getMBeanMeta in interface LiveJvmServiceExceptionpublic static Long getProcessId()
public Map<String,String> getSystemProperties(String agentId)
getSystemProperties in interface LiveJvmServicepublic DownstreamServiceOuterClass.ThreadDump getThreadDump(String agentId)
getThreadDump in interface LiveJvmServicepublic DownstreamServiceOuterClass.HeapDumpFileInfo heapDump(String agentId, String directory) throws Exception
heapDump in interface LiveJvmServiceExceptionpublic DownstreamServiceOuterClass.HeapHistogram heapHistogram(String agentId) throws Exception
heapHistogram in interface LiveJvmServiceExceptionpublic boolean isAvailable(String agentId)
isAvailable in interface LiveJvmServicepublic boolean isExplicitGcDisabled(String agentId) throws Exception
isExplicitGcDisabled in interface LiveJvmServiceExceptionCopyright © 2011–2020 Glowroot contributors. All rights reserved.