public class ProfilingService extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static ProfilingService |
getInstance(org.apache.flink.configuration.Configuration configs) |
CompletableFuture<Collection<ProfilingInfo>> |
getProfilingList(String resourceID) |
String |
getProfilingResultDir() |
CompletableFuture<ProfilingInfo> |
requestProfiling(String resourceID,
long duration,
ProfilingInfo.ProfilingMode mode) |
public static ProfilingService getInstance(org.apache.flink.configuration.Configuration configs)
public CompletableFuture<ProfilingInfo> requestProfiling(String resourceID, long duration, ProfilingInfo.ProfilingMode mode)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic CompletableFuture<Collection<ProfilingInfo>> getProfilingList(String resourceID)
public String getProfilingResultDir()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.