Interface Meta.WatchNodeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Meta.WatchNode, Meta.WatchNode.Builder
Enclosing class:
Meta

public static interface Meta.WatchNodeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getWatchId

      long getWatchId()
      int64 watch_id = 3;
      Returns:
      The watchId.
    • getStartRevision

      long getStartRevision()
       the start revision of this watch_id want to watch
       
      int64 start_revision = 4;
      Returns:
      The startRevision.
    • getWatchedRevision

      long getWatchedRevision()
       the last revision than coordinator pushed back to this watch_id
       
      int64 watched_revision = 5;
      Returns:
      The watchedRevision.
    • getIsWatching

      long getIsWatching()
       the count that how many client is watching this watch_id
       
      int64 is_watching = 6;
      Returns:
      The isWatching.
    • getEventTypesList

      List<Meta.MetaEventType> getEventTypesList()
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Returns:
      A list containing the eventTypes.
    • getEventTypesCount

      int getEventTypesCount()
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Returns:
      The count of eventTypes.
    • getEventTypes

      Meta.MetaEventType getEventTypes(int index)
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Parameters:
      index - The index of the element to return.
      Returns:
      The eventTypes at the given index.
    • getEventTypesValueList

      List<Integer> getEventTypesValueList()
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Returns:
      A list containing the enum numeric values on the wire for eventTypes.
    • getEventTypesValue

      int getEventTypesValue(int index)
      repeated .dingodb.pb.meta.MetaEventType event_types = 7;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of eventTypes at the given index.
    • getPendingEventsList

      List<Meta.MetaEvent> getPendingEventsList()
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
    • getPendingEvents

      Meta.MetaEvent getPendingEvents(int index)
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
    • getPendingEventsCount

      int getPendingEventsCount()
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
    • getPendingEventsOrBuilderList

      List<? extends Meta.MetaEventOrBuilder> getPendingEventsOrBuilderList()
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
    • getPendingEventsOrBuilder

      Meta.MetaEventOrBuilder getPendingEventsOrBuilder(int index)
       the pending events that coordinator want to push to this watch_id
       
      repeated .dingodb.pb.meta.MetaEvent pending_events = 8;
    • getLastSendTimestampMs

      long getLastSendTimestampMs()
       the last send timestamp in ms
       
      int64 last_send_timestamp_ms = 9;
      Returns:
      The lastSendTimestampMs.