Class DcbEventStoreGrpc.DcbEventStoreBlockingStub

  • Enclosing class:
    DcbEventStoreGrpc

    public static final class DcbEventStoreGrpc.DcbEventStoreBlockingStub
    extends io.grpc.stub.AbstractBlockingStub<DcbEventStoreGrpc.DcbEventStoreBlockingStub>
    A stub to allow clients to do limited synchronous rpc calls to service DcbEventStore.
     Service providing Event Store RPCs supporting DCB. 
     
    • Method Detail

      • getHead

        public GetHeadResponse getHead​(GetHeadRequest request)
         Gets the current _head_ of the Event Store. The _head_ points to the sequence of the first event to be appended. 
         
      • getTail

        public GetTailResponse getTail​(GetTailRequest request)
         Gets the current _tail_ of the Event Store. The _tail_ points to the sequence of the first event stored. 
         
      • getSequenceAt

        public GetSequenceAtResponse getSequenceAt​(GetSequenceAtRequest request)
         Returns the lowest sequence of an event with a timestamp equal to or higher than the given timestamp. The HEAD is
        returned if no events exist with a timestamp equal to or higher than the given timestamp.
        N.B. Axon Server does not assign timestamps to events. The timestamps used for fulfilling this RPC are timestamps
        provided by the client. It could happen that there are events after the returned sequence that have an earlier
        timestamp. Axon Server does not reject appends if timestamps of events are not monotonically increasing.