Package xyz.block.ftl.v1
Class ControllerServiceGrpc.ControllerServiceBlockingStub
-
- All Implemented Interfaces:
public final class ControllerServiceGrpc.ControllerServiceBlockingStub extends AbstractBlockingStub<S>A stub to allow clients to do synchronous rpc calls to service ControllerService.
-
-
Field Summary
Fields Modifier and Type Field Description public final Channelchannelpublic final CallOptionscallOptions
-
Method Summary
Modifier and Type Method Description PingResponseping(PingRequest request)Ping service for readiness.ProcessListResponseprocessList(ProcessListRequest request)List "processes" running on the cluster.StatusResponsestatus(StatusRequest request)GetArtefactDiffsResponsegetArtefactDiffs(GetArtefactDiffsRequest request)Get list of artefacts that differ between the server and client.UploadArtefactResponseuploadArtefact(UploadArtefactRequest request)Upload an artefact to the server.CreateDeploymentResponsecreateDeployment(CreateDeploymentRequest request)Create a deployment.GetDeploymentResponsegetDeployment(GetDeploymentRequest request)Get the schema and artefact metadata for a deployment.Iterator<GetDeploymentArtefactsResponse>getDeploymentArtefacts(GetDeploymentArtefactsRequest request)Stream deployment artefacts from the server. Each artefact is streamed one after the other as a sequence of max 1MB chunks.UpdateDeployResponseupdateDeploy(UpdateDeployRequest request)Update an existing deployment.ReplaceDeployResponsereplaceDeploy(ReplaceDeployRequest request)Gradually replace an existing deployment with a new one. If a deployment already exists for the module of the new deployment, it will be scaled down and replaced by the new one.GetSchemaResponsegetSchema(GetSchemaRequest request)Get the full schema.Iterator<PullSchemaResponse>pullSchema(PullSchemaRequest request)Pull schema changes from the Controller. Note that if there are no deployments this will block indefinitely, making it unsuitable for just retrieving the schema. Use GetSchema for that.ResetSubscriptionResponseresetSubscription(ResetSubscriptionRequest request)Reset the cursor for a subscription to the head of its topic.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady -
Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ping
PingResponse ping(PingRequest request)
Ping service for readiness.
-
processList
ProcessListResponse processList(ProcessListRequest request)
List "processes" running on the cluster.
-
status
StatusResponse status(StatusRequest request)
-
getArtefactDiffs
GetArtefactDiffsResponse getArtefactDiffs(GetArtefactDiffsRequest request)
Get list of artefacts that differ between the server and client.
-
uploadArtefact
UploadArtefactResponse uploadArtefact(UploadArtefactRequest request)
Upload an artefact to the server.
-
createDeployment
CreateDeploymentResponse createDeployment(CreateDeploymentRequest request)
Create a deployment.
-
getDeployment
GetDeploymentResponse getDeployment(GetDeploymentRequest request)
Get the schema and artefact metadata for a deployment.
-
getDeploymentArtefacts
Iterator<GetDeploymentArtefactsResponse> getDeploymentArtefacts(GetDeploymentArtefactsRequest request)
Stream deployment artefacts from the server. Each artefact is streamed one after the other as a sequence of max 1MB chunks.
-
updateDeploy
UpdateDeployResponse updateDeploy(UpdateDeployRequest request)
Update an existing deployment.
-
replaceDeploy
ReplaceDeployResponse replaceDeploy(ReplaceDeployRequest request)
Gradually replace an existing deployment with a new one. If a deployment already exists for the module of the new deployment, it will be scaled down and replaced by the new one.
-
getSchema
GetSchemaResponse getSchema(GetSchemaRequest request)
Get the full schema.
-
pullSchema
Iterator<PullSchemaResponse> pullSchema(PullSchemaRequest request)
Pull schema changes from the Controller. Note that if there are no deployments this will block indefinitely, making it unsuitable for just retrieving the schema. Use GetSchema for that.
-
resetSubscription
ResetSubscriptionResponse resetSubscription(ResetSubscriptionRequest request)
Reset the cursor for a subscription to the head of its topic.
-
-
-
-