Class ProfilingService
java.lang.Object
org.apache.flink.runtime.util.profiler.ProfilingService
- All Implemented Interfaces:
Closeable,AutoCloseable
Create and keep profiling requests with rolling policy.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static ProfilingServicegetInstance(org.apache.flink.configuration.Configuration configs) getProfilingList(String resourceID) requestProfiling(String resourceID, long duration, ProfilingInfo.ProfilingMode mode)
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Method Details
-
getInstance
-
requestProfiling
public CompletableFuture<ProfilingInfo> requestProfiling(String resourceID, long duration, ProfilingInfo.ProfilingMode mode) -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getProfilingList
-
getProfilingResultDir
-