public abstract static class RecreateOnResetOperatorCoordinator.Provider extends Object implements OperatorCoordinator.Provider
| 构造器和说明 |
|---|
Provider(OperatorID operatorID) |
| 限定符和类型 | 方法和说明 |
|---|---|
OperatorCoordinator |
create(OperatorCoordinator.Context context)
Creates the
OperatorCoordinator, using the given context. |
protected OperatorCoordinator |
create(OperatorCoordinator.Context context,
long closingTimeoutMs) |
protected abstract OperatorCoordinator |
getCoordinator(OperatorCoordinator.Context context) |
OperatorID |
getOperatorId()
Gets the ID of the operator to which the coordinator belongs.
|
public Provider(OperatorID operatorID)
public OperatorID getOperatorId()
OperatorCoordinator.ProvidergetOperatorId 在接口中 OperatorCoordinator.Providerpublic OperatorCoordinator create(OperatorCoordinator.Context context) throws Exception
OperatorCoordinator.ProviderOperatorCoordinator, using the given context.create 在接口中 OperatorCoordinator.ProviderException@VisibleForTesting protected OperatorCoordinator create(OperatorCoordinator.Context context, long closingTimeoutMs) throws Exception
Exceptionprotected abstract OperatorCoordinator getCoordinator(OperatorCoordinator.Context context) throws Exception
ExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.