Uses of Class
com.google.cloud.pubsublite.Partition
Packages that use Partition
Package
Description
-
Uses of Partition in com.google.cloud.pubsublite
Methods in com.google.cloud.pubsublite that return PartitionModifier and TypeMethodDescriptionstatic PartitionPartition.of(long partition) Create a partition from its long value.abstract PartitionMessageMetadata.partition()The partition a message was published to.Methods in com.google.cloud.pubsublite with parameters of type PartitionModifier and TypeMethodDescriptionstatic MessageMetadataConstruct a MessageMetadata from a Partition and Offset. -
Uses of Partition in com.google.cloud.pubsublite.cloudpubsub
Methods in com.google.cloud.pubsublite.cloudpubsub with parameters of type PartitionModifier and TypeMethodDescriptionPartitionSubscriberClientSupplier.get(SubscriptionPath subscription, Partition partition) Creates a new SubscriberServiceClient for the specified subscription and partition.Method parameters in com.google.cloud.pubsublite.cloudpubsub with type arguments of type PartitionModifier and TypeMethodDescriptionvoidReassignmentHandler.handleReassignment(Set<Partition> before, Set<Partition> after) Called with the previous and new assignment delivered to this client on an assignment change.abstract SubscriberSettings.BuilderSubscriberSettings.Builder.setPartitions(List<Partition> partition) The partitions this subscriber should connect to to receive messages. -
Uses of Partition in com.google.cloud.pubsublite.cloudpubsub.internal
Methods in com.google.cloud.pubsublite.cloudpubsub.internal with parameters of type Partition -
Uses of Partition in com.google.cloud.pubsublite.internal
Methods in com.google.cloud.pubsublite.internal that return PartitionModifier and TypeMethodDescriptionDefaultRoutingPolicy.route(PubSubMessage message) RoutingPolicy.route(PubSubMessage messageKey) Methods in com.google.cloud.pubsublite.internal that return types with arguments of type PartitionModifier and TypeMethodDescriptionCursorClient.listPartitionCursors(SubscriptionPath path) List the cursors for a given subscription.CursorClientImpl.listPartitionCursors(SubscriptionPath path) Methods in com.google.cloud.pubsublite.internal with parameters of type PartitionModifier and TypeMethodDescriptioncom.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) TopicStatsClient.computeCursorForEventTime(TopicPath path, Partition partition, com.google.protobuf.Timestamp eventTime) Compute the cursor of the first message with event time greater than or equal to the specified event time, for a topic partition.TopicStatsClientImpl.computeCursorForEventTime(TopicPath path, Partition partition, com.google.protobuf.Timestamp eventTime) TopicStatsClient.computeCursorForPublishTime(TopicPath path, Partition partition, com.google.protobuf.Timestamp publishTime) Compute the cursor of the first message with publish time greater than or equal to the specified publish time, for a topic partition.TopicStatsClientImpl.computeCursorForPublishTime(TopicPath path, Partition partition, com.google.protobuf.Timestamp publishTime) com.google.api.core.ApiFuture<Cursor>TopicStatsClient.computeHeadCursor(TopicPath path, Partition partition) Compute the head cursor for the partition.com.google.api.core.ApiFuture<Cursor>TopicStatsClientImpl.computeHeadCursor(TopicPath path, Partition partition) 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.com.google.api.core.ApiFuture<ComputeMessageStatsResponse>TopicStatsClientImpl.computeMessageStats(TopicPath path, Partition partition, Offset start, Offset end) -
Uses of Partition in com.google.cloud.pubsublite.internal.testing
Methods in com.google.cloud.pubsublite.internal.testing that return Partition -
Uses of Partition in com.google.cloud.pubsublite.internal.wire
Methods in com.google.cloud.pubsublite.internal.wire with parameters of type PartitionModifier and TypeMethodDescriptionPartitionPublisherFactory.newPublisher(Partition partition) static RoutingMetadataRoutingMetadata.of(SubscriptionPath subscription, Partition partition) static RoutingMetadataabstract CommitterSettings.BuilderCommitterSettings.Builder.setPartition(Partition partition) abstract PublisherBuilder.BuilderPublisherBuilder.Builder.setPartition(Partition partition) SinglePartitionPublisherBuilder.Builder.setPartition(Partition partition) abstract SubscriberBuilder.BuilderSubscriberBuilder.Builder.setPartition(Partition partition) Method parameters in com.google.cloud.pubsublite.internal.wire with type arguments of type PartitionModifier and TypeMethodDescriptionvoidPartitionAssignmentReceiver.handleAssignment(Set<Partition> assignment)