| Package | Description |
|---|---|
| com.google.cloud.pubsublite | |
| com.google.cloud.pubsublite.internal | |
| com.google.cloud.pubsublite.internal.testing | |
| com.google.cloud.pubsublite.internal.wire |
| Modifier and Type | Method and Description |
|---|---|
static Offset |
Offset.of(long offset)
Create an offset.
|
abstract Offset |
SequencedMessage.offset()
The offset for this message.
|
abstract Offset |
MessageMetadata.offset()
The offset a message was assigned.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Offset.compareTo(Offset o) |
static SequencedMessage |
SequencedMessage.of(Message message,
com.google.protobuf.Timestamp publishTime,
Offset offset,
long byteSize)
Construct a SequencedMessage from its components.
|
static MessageMetadata |
MessageMetadata.of(Partition partition,
Offset offset)
Construct a MessageMetadata from a Partition and Offset.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<Map<Partition,Offset>> |
CursorClient.listPartitionCursors(SubscriptionPath path)
List the cursors for a given subscription.
|
com.google.api.core.ApiFuture<Map<Partition,Offset>> |
CursorClientImpl.listPartitionCursors(SubscriptionPath path) |
Optional<Offset> |
BufferingPullSubscriber.nextOffset() |
Optional<Offset> |
PullSubscriber.nextOffset() |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<Void> |
CursorClient.commitCursor(SubscriptionPath path,
Partition partition,
Offset offset)
Commit a single cursor.
|
com.google.api.core.ApiFuture<Void> |
CursorClientImpl.commitCursor(SubscriptionPath path,
Partition partition,
Offset offset) |
com.google.api.core.ApiFuture<ComputeMessageStatsResponse> |
TopicStatsClientImpl.computeMessageStats(TopicPath path,
Partition partition,
Offset start,
Offset end) |
com.google.api.core.ApiFuture<ComputeMessageStatsResponse> |
TopicStatsClient.computeMessageStats(TopicPath path,
Partition partition,
Offset start,
Offset end)
Compute statistics about the messages between two cursors in a topic partition.
|
| Modifier and Type | Method and Description |
|---|---|
static Offset |
UnitTestExamples.exampleOffset() |
| Modifier and Type | Method and Description |
|---|---|
Publisher<Offset> |
PublisherBuilder.Builder.build() |
com.google.api.core.ApiFuture<Offset> |
PublisherImpl.publish(Message message) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectedCommitterImpl.commit(Offset offset) |
com.google.api.core.ApiFuture<Void> |
CommitterImpl.commitOffset(Offset offset) |
com.google.api.core.ApiFuture<Void> |
Committer.commitOffset(Offset offset) |
void |
PublisherImpl.onClientResponse(Offset value) |
Copyright © 2021 Google LLC. All rights reserved.