Class TaskHubSidecarServiceGrpc.TaskHubSidecarServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<TaskHubSidecarServiceGrpc.TaskHubSidecarServiceStub>
-
- com.microsoft.durabletask.implementation.protobuf.TaskHubSidecarServiceGrpc.TaskHubSidecarServiceStub
-
- Enclosing class:
- TaskHubSidecarServiceGrpc
public static final class TaskHubSidecarServiceGrpc.TaskHubSidecarServiceStub extends io.grpc.stub.AbstractAsyncStub<TaskHubSidecarServiceGrpc.TaskHubSidecarServiceStub>
A stub to allow clients to do asynchronous rpc calls to service TaskHubSidecarService.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TaskHubSidecarServiceGrpc.TaskHubSidecarServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcompleteActivityTask(OrchestratorService.ActivityResponse request, io.grpc.stub.StreamObserver<OrchestratorService.CompleteTaskResponse> responseObserver)voidcompleteOrchestratorTask(OrchestratorService.OrchestratorResponse request, io.grpc.stub.StreamObserver<OrchestratorService.CompleteTaskResponse> responseObserver)voidcreateTaskHub(OrchestratorService.CreateTaskHubRequest request, io.grpc.stub.StreamObserver<OrchestratorService.CreateTaskHubResponse> responseObserver)Deletes and Creates the necessary resources for the orchestration service and the instance storevoiddeleteTaskHub(OrchestratorService.DeleteTaskHubRequest request, io.grpc.stub.StreamObserver<OrchestratorService.DeleteTaskHubResponse> responseObserver)Deletes the resources for the orchestration service and optionally the instance storevoidgetInstance(OrchestratorService.GetInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.GetInstanceResponse> responseObserver)Gets the status of an existing orchestration instance.voidgetWorkItems(OrchestratorService.GetWorkItemsRequest request, io.grpc.stub.StreamObserver<OrchestratorService.WorkItem> responseObserver)voidhello(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Sends a hello request to the sidecar service.voidpurgeInstances(OrchestratorService.PurgeInstancesRequest request, io.grpc.stub.StreamObserver<OrchestratorService.PurgeInstancesResponse> responseObserver)voidqueryInstances(OrchestratorService.QueryInstancesRequest request, io.grpc.stub.StreamObserver<OrchestratorService.QueryInstancesResponse> responseObserver)voidraiseEvent(OrchestratorService.RaiseEventRequest request, io.grpc.stub.StreamObserver<OrchestratorService.RaiseEventResponse> responseObserver)Raises an event to a running orchestration instance.voidresumeInstance(OrchestratorService.ResumeRequest request, io.grpc.stub.StreamObserver<OrchestratorService.ResumeResponse> responseObserver)Resumes a suspended orchestration instance.voidrewindInstance(OrchestratorService.RewindInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.RewindInstanceResponse> responseObserver)Rewinds an orchestration instance to last known good state and replays from there.voidstartInstance(OrchestratorService.CreateInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.CreateInstanceResponse> responseObserver)Starts a new orchestration instance.voidsuspendInstance(OrchestratorService.SuspendRequest request, io.grpc.stub.StreamObserver<OrchestratorService.SuspendResponse> responseObserver)Suspends a running orchestration instance.voidterminateInstance(OrchestratorService.TerminateRequest request, io.grpc.stub.StreamObserver<OrchestratorService.TerminateResponse> responseObserver)Terminates a running orchestration instance.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.).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
-
build
protected TaskHubSidecarServiceGrpc.TaskHubSidecarServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<TaskHubSidecarServiceGrpc.TaskHubSidecarServiceStub>
-
hello
public 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
public void startInstance(OrchestratorService.CreateInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.CreateInstanceResponse> responseObserver)
Starts a new orchestration instance.
-
getInstance
public void getInstance(OrchestratorService.GetInstanceRequest request, io.grpc.stub.StreamObserver<OrchestratorService.GetInstanceResponse> responseObserver)
Gets the status of an existing orchestration instance.
-
rewindInstance
public 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
public 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
public 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
public void raiseEvent(OrchestratorService.RaiseEventRequest request, io.grpc.stub.StreamObserver<OrchestratorService.RaiseEventResponse> responseObserver)
Raises an event to a running orchestration instance.
-
terminateInstance
public void terminateInstance(OrchestratorService.TerminateRequest request, io.grpc.stub.StreamObserver<OrchestratorService.TerminateResponse> responseObserver)
Terminates a running orchestration instance.
-
suspendInstance
public void suspendInstance(OrchestratorService.SuspendRequest request, io.grpc.stub.StreamObserver<OrchestratorService.SuspendResponse> responseObserver)
Suspends a running orchestration instance.
-
resumeInstance
public void resumeInstance(OrchestratorService.ResumeRequest request, io.grpc.stub.StreamObserver<OrchestratorService.ResumeResponse> responseObserver)
Resumes a suspended orchestration instance.
-
queryInstances
public void queryInstances(OrchestratorService.QueryInstancesRequest request, io.grpc.stub.StreamObserver<OrchestratorService.QueryInstancesResponse> responseObserver)
-
purgeInstances
public void purgeInstances(OrchestratorService.PurgeInstancesRequest request, io.grpc.stub.StreamObserver<OrchestratorService.PurgeInstancesResponse> responseObserver)
-
getWorkItems
public void getWorkItems(OrchestratorService.GetWorkItemsRequest request, io.grpc.stub.StreamObserver<OrchestratorService.WorkItem> responseObserver)
-
completeActivityTask
public void completeActivityTask(OrchestratorService.ActivityResponse request, io.grpc.stub.StreamObserver<OrchestratorService.CompleteTaskResponse> responseObserver)
-
completeOrchestratorTask
public void completeOrchestratorTask(OrchestratorService.OrchestratorResponse request, io.grpc.stub.StreamObserver<OrchestratorService.CompleteTaskResponse> responseObserver)
-
createTaskHub
public 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
public void deleteTaskHub(OrchestratorService.DeleteTaskHubRequest request, io.grpc.stub.StreamObserver<OrchestratorService.DeleteTaskHubResponse> responseObserver)
Deletes the resources for the orchestration service and optionally the instance store
-
-