Class WatchServiceGrpc.WatchServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<WatchServiceGrpc.WatchServiceBlockingV2Stub>
com.authzed.api.v1.WatchServiceGrpc.WatchServiceBlockingV2Stub
Enclosing class:
WatchServiceGrpc

public static final class WatchServiceGrpc.WatchServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<WatchServiceGrpc.WatchServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service WatchService.
  • 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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    io.grpc.stub.BlockingClientCall<?,WatchResponse>
    Watch returns a stream of events that occurred in the datastore in ascending timestamp order.

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected WatchServiceGrpc.WatchServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<WatchServiceGrpc.WatchServiceBlockingV2Stub>
    • watch

      @ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,WatchResponse> watch(WatchRequest request)
       Watch returns a stream of events that occurred in the datastore in ascending timestamp order.
       The events can be relationship updates, schema updates, or checkpoints.