public class FlinkRestClient extends Object
Constructor and Description |
---|
FlinkRestClient(String jmAddress,
int jmPort) |
Modifier and Type | Method and Description |
---|---|
void |
cancelJob(String jobId) |
void |
close() |
Long |
getDataFreshness(String jobId) |
double |
getNumRecordsPerSecond(String jobId,
String vertexId) |
double |
getSourceMetric(String jobId,
String vertexId,
String metric) |
String |
getSourceVertexId(String jobId) |
double |
getTotalNumRecords(String jobId,
String vertexId) |
boolean |
isJobRunning(String jobId) |
void |
stopJobWithSavepoint(String jobId,
String savepointPath) |
long |
waitUntilJobFinished(String jobId) |
void |
waitUntilNumberOfRows(String jobId,
long numberOfRows) |
public FlinkRestClient(String jmAddress, int jmPort)
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.