Class PartitionCountWatchingPublisher (1.9.4)

public class PartitionCountWatchingPublisher extends ProxyService implements Publisher<MessageMetadata>

Inheritance

java.lang.Object > AbstractApiService > ProxyService > PartitionCountWatchingPublisher

Implements

com.google.cloud.pubsublite.internal.Publisher<com.google.cloud.pubsublite.MessageMetadata>

Methods

cancelOutstandingPublishes()

public void cancelOutstandingPublishes()

flush()

public void flush()
Exceptions
Type Description
IOException

handlePermanentError(CheckedApiException error)

protected void handlePermanentError(CheckedApiException error)
Parameter
Name Description
error CheckedApiException
Overrides

publish(Message message)

public ApiFuture<MessageMetadata> publish(Message message)
Parameter
Name Description
message Message
Returns
Type Description
ApiFuture<MessageMetadata>

stop()

protected void stop()
Overrides