类 HeapDumpWebEndpoint
java.lang.Object
org.springframework.boot.actuate.management.HeapDumpWebEndpoint
Web
@Endpoint
to expose heap dumps.- 从以下版本开始:
- 2.0.0
- 作者:
- Lari Hotari, Phillip Webb, Raja Kolli, Andy Wilkinson
-
嵌套类概要
嵌套类修饰符和类型类说明protected static interface
Strategy interface used to dump the heap to a file.protected static class
Exception to be thrown if theHeapDumpWebEndpoint.HeapDumper
cannot be created.protected static class
HeapDumpWebEndpoint.HeapDumper
that usescom.sun.management.HotSpotDiagnosticMXBean
, available on Oracle and OpenJDK, to dump the heap to a file. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected HeapDumpWebEndpoint.HeapDumper
Factory method used to create theHeapDumpWebEndpoint.HeapDumper
.
-
构造器详细资料
-
HeapDumpWebEndpoint
public HeapDumpWebEndpoint() -
HeapDumpWebEndpoint
protected HeapDumpWebEndpoint(long timeout)
-
-
方法详细资料
-
heapDump
-
createHeapDumper
protected HeapDumpWebEndpoint.HeapDumper createHeapDumper() throws HeapDumpWebEndpoint.HeapDumperUnavailableExceptionFactory method used to create theHeapDumpWebEndpoint.HeapDumper
.- 返回:
- the heap dumper to use
- 抛出:
HeapDumpWebEndpoint.HeapDumperUnavailableException
- if the heap dumper cannot be created
-