Class WatchServiceGrpc.WatchServiceStub

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

public static final class WatchServiceGrpc.WatchServiceStub extends io.grpc.stub.AbstractAsyncStub<WatchServiceGrpc.WatchServiceStub>
A stub to allow clients to do asynchronous 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)
     
    void
    watch(WatchRequest request, io.grpc.stub.StreamObserver<WatchResponse> responseObserver)
    Watch returns a stream of events that occurred in the datastore in ascending timestamp order.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    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.WatchServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<WatchServiceGrpc.WatchServiceStub>
    • watch

      public void watch(WatchRequest request, io.grpc.stub.StreamObserver<WatchResponse> responseObserver)
       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.