Package io.dingodb.meta
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 Summary
Modifier and TypeMethodDescriptiongetEventTypes(int index) repeated .dingodb.pb.meta.MetaEventType event_types = 7;intrepeated .dingodb.pb.meta.MetaEventType event_types = 7;repeated .dingodb.pb.meta.MetaEventType event_types = 7;intgetEventTypesValue(int index) repeated .dingodb.pb.meta.MetaEventType event_types = 7;repeated .dingodb.pb.meta.MetaEventType event_types = 7;longthe count that how many client is watching this watch_idlongthe last send timestamp in msgetPendingEvents(int index) the pending events that coordinator want to push to this watch_idintthe pending events that coordinator want to push to this watch_idthe pending events that coordinator want to push to this watch_idgetPendingEventsOrBuilder(int index) the pending events that coordinator want to push to this watch_idList<? extends Meta.MetaEventOrBuilder>the pending events that coordinator want to push to this watch_idlongthe start revision of this watch_id want to watchlongthe last revision than coordinator pushed back to this watch_idlongint64 watch_id = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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
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
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.
-