Class TaskHubSidecarServiceGrpc.TaskHubSidecarServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TaskHubSidecarServiceGrpc.TaskHubSidecarServiceBlockingStub>
io.dapr.durabletask.implementation.protobuf.TaskHubSidecarServiceGrpc.TaskHubSidecarServiceBlockingStub
- Enclosing class:
- TaskHubSidecarServiceGrpc
public static final class TaskHubSidecarServiceGrpc.TaskHubSidecarServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<TaskHubSidecarServiceGrpc.TaskHubSidecarServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service TaskHubSidecarService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionAbandons a single work itemAbandon an entity work itemAbandon an orchestration work itembuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) clean entity storageDeletes and Creates the necessary resources for the orchestration service and the instance storeDeletes the resources for the orchestration service and optionally the instance storeget information about a specific entityGets the status of an existing orchestration instance.com.google.protobuf.Emptyhello(com.google.protobuf.Empty request) Sends a hello request to the sidecar service.query entitiesRaises an event to a running orchestration instance.Rerun a Workflow from a specific event ID of a workflow instance.Resumes a suspended orchestration instance.Rewinds an orchestration instance to last known good state and replays from there.sends a signal to an entityStarts a new orchestration instance.Gets the history of an orchestration instance as a stream of events.Suspends a running orchestration instance.Terminates a running orchestration instance.Waits for an orchestration instance to reach a completion state (completed, failed, terminated, etc.).Waits for an orchestration instance to reach a running or completion state.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected TaskHubSidecarServiceGrpc.TaskHubSidecarServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TaskHubSidecarServiceGrpc.TaskHubSidecarServiceBlockingStub>
-
hello
public com.google.protobuf.Empty hello(com.google.protobuf.Empty request) Sends a hello request to the sidecar service.
-
startInstance
public OrchestratorService.CreateInstanceResponse startInstance(OrchestratorService.CreateInstanceRequest request) Starts a new orchestration instance.
-
getInstance
public OrchestratorService.GetInstanceResponse getInstance(OrchestratorService.GetInstanceRequest request) Gets the status of an existing orchestration instance.
-
rewindInstance
public OrchestratorService.RewindInstanceResponse rewindInstance(OrchestratorService.RewindInstanceRequest request) Rewinds an orchestration instance to last known good state and replays from there.
-
waitForInstanceStart
public OrchestratorService.GetInstanceResponse waitForInstanceStart(OrchestratorService.GetInstanceRequest request) Waits for an orchestration instance to reach a running or completion state.
-
waitForInstanceCompletion
public OrchestratorService.GetInstanceResponse waitForInstanceCompletion(OrchestratorService.GetInstanceRequest request) Waits for an orchestration instance to reach a completion state (completed, failed, terminated, etc.).
-
raiseEvent
public OrchestratorService.RaiseEventResponse raiseEvent(OrchestratorService.RaiseEventRequest request) Raises an event to a running orchestration instance.
-
terminateInstance
public OrchestratorService.TerminateResponse terminateInstance(OrchestratorService.TerminateRequest request) Terminates a running orchestration instance.
-
suspendInstance
public OrchestratorService.SuspendResponse suspendInstance(OrchestratorService.SuspendRequest request) Suspends a running orchestration instance.
-
resumeInstance
Resumes a suspended orchestration instance.
-
queryInstances
public OrchestratorService.QueryInstancesResponse queryInstances(OrchestratorService.QueryInstancesRequest request) -
purgeInstances
public OrchestratorService.PurgeInstancesResponse purgeInstances(OrchestratorService.PurgeInstancesRequest request) -
getWorkItems
public Iterator<OrchestratorService.WorkItem> getWorkItems(OrchestratorService.GetWorkItemsRequest request) -
completeActivityTask
public OrchestratorService.CompleteTaskResponse completeActivityTask(OrchestratorService.ActivityResponse request) -
completeOrchestratorTask
public OrchestratorService.CompleteTaskResponse completeOrchestratorTask(OrchestratorService.OrchestratorResponse request) -
completeEntityTask
public OrchestratorService.CompleteTaskResponse completeEntityTask(OrchestratorService.EntityBatchResult request) -
streamInstanceHistory
public Iterator<OrchestratorService.HistoryChunk> streamInstanceHistory(OrchestratorService.StreamInstanceHistoryRequest request) Gets the history of an orchestration instance as a stream of events.
-
createTaskHub
public OrchestratorService.CreateTaskHubResponse createTaskHub(OrchestratorService.CreateTaskHubRequest request) Deletes and Creates the necessary resources for the orchestration service and the instance store
-
deleteTaskHub
public OrchestratorService.DeleteTaskHubResponse deleteTaskHub(OrchestratorService.DeleteTaskHubRequest request) Deletes the resources for the orchestration service and optionally the instance store
-
signalEntity
public OrchestratorService.SignalEntityResponse signalEntity(OrchestratorService.SignalEntityRequest request) sends a signal to an entity
-
getEntity
public OrchestratorService.GetEntityResponse getEntity(OrchestratorService.GetEntityRequest request) get information about a specific entity
-
queryEntities
public OrchestratorService.QueryEntitiesResponse queryEntities(OrchestratorService.QueryEntitiesRequest request) query entities
-
cleanEntityStorage
public OrchestratorService.CleanEntityStorageResponse cleanEntityStorage(OrchestratorService.CleanEntityStorageRequest request) clean entity storage
-
abandonTaskActivityWorkItem
public OrchestratorService.AbandonActivityTaskResponse abandonTaskActivityWorkItem(OrchestratorService.AbandonActivityTaskRequest request) Abandons a single work item
-
abandonTaskOrchestratorWorkItem
public OrchestratorService.AbandonOrchestrationTaskResponse abandonTaskOrchestratorWorkItem(OrchestratorService.AbandonOrchestrationTaskRequest request) Abandon an orchestration work item
-
abandonTaskEntityWorkItem
public OrchestratorService.AbandonEntityTaskResponse abandonTaskEntityWorkItem(OrchestratorService.AbandonEntityTaskRequest request) Abandon an entity work item
-
rerunWorkflowFromEvent
public OrchestratorService.RerunWorkflowFromEventResponse rerunWorkflowFromEvent(OrchestratorService.RerunWorkflowFromEventRequest request) Rerun a Workflow from a specific event ID of a workflow instance.
-
listInstanceIDs
public OrchestratorService.ListInstanceIDsResponse listInstanceIDs(OrchestratorService.ListInstanceIDsRequest request) -
getInstanceHistory
public OrchestratorService.GetInstanceHistoryResponse getInstanceHistory(OrchestratorService.GetInstanceHistoryRequest request)
-