public interface TierTopicAppender
Modifier and Type | Method and Description |
---|---|
CompletableFuture<TierPartitionState.AppendResult> |
addMetadata(AbstractTierMetadata entry)
Write an AbstractTierMetadata to the Tier Topic, returning a
CompletableFuture that tracks the result of the materialization after the
message has been read from the tier topic, allowing the sender to determine
whether the write was fenced, or the send failed.
|
boolean |
isReadyForWrites()
Return whether TierTopicManager is ready to accept writes.
|
CompletableFuture<TierPartitionState.AppendResult> addMetadata(AbstractTierMetadata entry) throws IllegalAccessException
entry
- the tier topic entry to be written to the tier topic.IllegalAccessException
boolean isReadyForWrites()