| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.dispatcher | |
| org.apache.flink.runtime.webmonitor |
| 限定符和类型 | 方法和说明 |
|---|---|
static TriggerSavepointMode |
TriggerSavepointMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TriggerSavepointMode[] |
TriggerSavepointMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<String> |
TriggerSavepointFunction.apply(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
Dispatcher.stopWithSavepoint(AsynchronousJobOperationKey operationKey,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
DispatcherCachedOperationsHandler.stopWithSavepoint(AsynchronousJobOperationKey operationKey,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout) |
default CompletableFuture<String> |
DispatcherGateway.stopWithSavepointAndGetLocation(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout)
Stops the job with a savepoint, returning a future that completes with the savepoint location
when the savepoint is completed.
|
CompletableFuture<String> |
Dispatcher.stopWithSavepointAndGetLocation(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
Dispatcher.triggerSavepoint(AsynchronousJobOperationKey operationKey,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout) |
CompletableFuture<Acknowledge> |
DispatcherCachedOperationsHandler.triggerSavepoint(AsynchronousJobOperationKey operationKey,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout) |
default CompletableFuture<String> |
DispatcherGateway.triggerSavepointAndGetLocation(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout)
Triggers a savepoint with the given savepoint directory as a target, returning a future that
completes with the savepoint location when it is complete.
|
CompletableFuture<String> |
Dispatcher.triggerSavepointAndGetLocation(org.apache.flink.api.common.JobID jobId,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout) |
| 限定符和类型 | 方法和说明 |
|---|---|
default CompletableFuture<Acknowledge> |
RestfulGateway.stopWithSavepoint(AsynchronousJobOperationKey operationKey,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout)
Stops the job with a savepoint, returning a future that completes when the operation is
started.
|
default CompletableFuture<Acknowledge> |
RestfulGateway.triggerSavepoint(AsynchronousJobOperationKey operationKey,
String targetDirectory,
org.apache.flink.core.execution.SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
org.apache.flink.api.common.time.Time timeout)
Triggers a savepoint with the given savepoint directory as a target, returning a future that
completes when the operation is started.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.