public class RemoveNode extends WorkflowRequest
Created by Maithem on 1/19/18.
nodeForWorkflow, pollPeriod, retry, runtime, timeout
Constructor and Description |
---|
RemoveNode(String endpointToRemove,
CorfuRuntime runtime,
int retry,
Duration timeout,
Duration pollPeriod) |
Modifier and Type | Method and Description |
---|---|
protected UUID |
sendRequest(ManagementClient managementClient)
Send a workflow request
|
String |
toString() |
protected boolean |
verifyRequest(Layout layout)
Infer the completion of the request by inspecting the layout
|
getOrchestrator, invoke
public RemoveNode(@NonNull String endpointToRemove, @NonNull CorfuRuntime runtime, int retry, @NonNull Duration timeout, @NonNull Duration pollPeriod)
protected UUID sendRequest(@NonNull ManagementClient managementClient) throws TimeoutException
WorkflowRequest
sendRequest
in class WorkflowRequest
managementClient
- the client to the selected orchestratorTimeoutException
protected boolean verifyRequest(@NonNull Layout layout)
WorkflowRequest
verifyRequest
in class WorkflowRequest
layout
- the layout to inspectCopyright © 2019 CorfuDB. All rights reserved.