Interface TaskHubSidecarServiceGrpc.AsyncService
-
- All Known Implementing Classes:
TaskHubSidecarServiceGrpc.TaskHubSidecarServiceImplBase
- Enclosing class:
- TaskHubSidecarServiceGrpc
public static interface TaskHubSidecarServiceGrpc.AsyncService
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcompleteActivityTask(OrchestratorService.ActivityResponse request, io.grpc.stub.StreamObserver<OrchestratorService.CompleteTaskResponse> responseObserver)default voidcompleteOrchestratorTask(OrchestratorService.OrchestratorResponse request, io.grpc.stub.StreamObserver<OrchestratorService.CompleteTaskResponse> responseObserver)default voidcreateTaskHub(OrchestratorService.CreateTaskHubRequest request, io.grpc.stub.StreamObserver<OrchestratorService.CreateTaskHubResponse> responseObserver)Deletes and Creates the necessary resources for the orchestration service and the instance storedefault voiddeleteTaskHub(OrchestratorService.DeleteTaskHubRequest request, io.grpc.stub.StreamObserver<OrchestratorService.DeleteTaskHubResponse> responseObserver)Deletes the resources for the orchestration service and optionally the instance storedefault voidgetInstance(OrchestratorService.GetInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.GetInstanceResponse> responseObserver)Gets the status of an existing orchestration instance.default voidgetWorkItems(OrchestratorService.GetWorkItemsRequest request, io.grpc.stub.StreamObserver<OrchestratorService.WorkItem> responseObserver)default voidhello(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Sends a hello request to the sidecar service.default voidpurgeInstances(OrchestratorService.PurgeInstancesRequest request, io.grpc.stub.StreamObserver<OrchestratorService.PurgeInstancesResponse> responseObserver)default voidqueryInstances(OrchestratorService.QueryInstancesRequest request, io.grpc.stub.StreamObserver<OrchestratorService.QueryInstancesResponse> responseObserver)default voidraiseEvent(OrchestratorService.RaiseEventRequest request, io.grpc.stub.StreamObserver<OrchestratorService.RaiseEventResponse> responseObserver)Raises an event to a running orchestration instance.default voidresumeInstance(OrchestratorService.ResumeRequest request, io.grpc.stub.StreamObserver<OrchestratorService.ResumeResponse> responseObserver)Resumes a suspended orchestration instance.default voidrewindInstance(OrchestratorService.RewindInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.RewindInstanceResponse> responseObserver)Rewinds an orchestration instance to last known good state and replays from there.default voidstartInstance(OrchestratorService.CreateInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.CreateInstanceResponse> responseObserver)Starts a new orchestration instance.default voidsuspendInstance(OrchestratorService.SuspendRequest request, io.grpc.stub.StreamObserver<OrchestratorService.SuspendResponse> responseObserver)Suspends a running orchestration instance.default voidterminateInstance(OrchestratorService.TerminateRequest request, io.grpc.stub.StreamObserver<OrchestratorService.TerminateResponse> responseObserver)Terminates a running orchestration instance.default voidwaitForInstanceCompletion(OrchestratorService.GetInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.GetInstanceResponse> responseObserver)Waits for an orchestration instance to reach a completion state (completed, failed, terminated, etc.).default voidwaitForInstanceStart(OrchestratorService.GetInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.GetInstanceResponse> responseObserver)Waits for an orchestration instance to reach a running or completion state.
-
-
-
Method Detail
-
hello
default void hello(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Sends a hello request to the sidecar service.
-
startInstance
default void startInstance(OrchestratorService.CreateInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.CreateInstanceResponse> responseObserver)
Starts a new orchestration instance.
-
getInstance
default void getInstance(OrchestratorService.GetInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.GetInstanceResponse> responseObserver)
Gets the status of an existing orchestration instance.
-
rewindInstance
default void rewindInstance(OrchestratorService.RewindInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.RewindInstanceResponse> responseObserver)
Rewinds an orchestration instance to last known good state and replays from there.
-
waitForInstanceStart
default void waitForInstanceStart(OrchestratorService.GetInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.GetInstanceResponse> responseObserver)
Waits for an orchestration instance to reach a running or completion state.
-
waitForInstanceCompletion
default void waitForInstanceCompletion(OrchestratorService.GetInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.GetInstanceResponse> responseObserver)
Waits for an orchestration instance to reach a completion state (completed, failed, terminated, etc.).
-
raiseEvent
default void raiseEvent(OrchestratorService.RaiseEventRequest request, io.grpc.stub.StreamObserver<OrchestratorService.RaiseEventResponse> responseObserver)
Raises an event to a running orchestration instance.
-
terminateInstance
default void terminateInstance(OrchestratorService.TerminateRequest request, io.grpc.stub.StreamObserver<OrchestratorService.TerminateResponse> responseObserver)
Terminates a running orchestration instance.
-
suspendInstance
default void suspendInstance(OrchestratorService.SuspendRequest request, io.grpc.stub.StreamObserver<OrchestratorService.SuspendResponse> responseObserver)
Suspends a running orchestration instance.
-
resumeInstance
default void resumeInstance(OrchestratorService.ResumeRequest request, io.grpc.stub.StreamObserver<OrchestratorService.ResumeResponse> responseObserver)
Resumes a suspended orchestration instance.
-
queryInstances
default void queryInstances(OrchestratorService.QueryInstancesRequest request, io.grpc.stub.StreamObserver<OrchestratorService.QueryInstancesResponse> responseObserver)
-
purgeInstances
default void purgeInstances(OrchestratorService.PurgeInstancesRequest request, io.grpc.stub.StreamObserver<OrchestratorService.PurgeInstancesResponse> responseObserver)
-
getWorkItems
default void getWorkItems(OrchestratorService.GetWorkItemsRequest request, io.grpc.stub.StreamObserver<OrchestratorService.WorkItem> responseObserver)
-
completeActivityTask
default void completeActivityTask(OrchestratorService.ActivityResponse request, io.grpc.stub.StreamObserver<OrchestratorService.CompleteTaskResponse> responseObserver)
-
completeOrchestratorTask
default void completeOrchestratorTask(OrchestratorService.OrchestratorResponse request, io.grpc.stub.StreamObserver<OrchestratorService.CompleteTaskResponse> responseObserver)
-
createTaskHub
default void createTaskHub(OrchestratorService.CreateTaskHubRequest request, io.grpc.stub.StreamObserver<OrchestratorService.CreateTaskHubResponse> responseObserver)
Deletes and Creates the necessary resources for the orchestration service and the instance store
-
deleteTaskHub
default void deleteTaskHub(OrchestratorService.DeleteTaskHubRequest request, io.grpc.stub.StreamObserver<OrchestratorService.DeleteTaskHubResponse> responseObserver)
Deletes the resources for the orchestration service and optionally the instance store
-
-