Class PendingRemoteFetches

java.lang.Object
kafka.server.share.PendingRemoteFetches

public class PendingRemoteFetches extends Object
This class is used to store the remote storage fetch information for topic partitions in a share fetch request.
  • Method Details

    • isDone

      public boolean isDone()
    • invokeCallbackOnCompletion

      public void invokeCallbackOnCompletion(BiConsumer<Void,Throwable> callback)
    • remoteFetches

      public List<PendingRemoteFetches.RemoteFetch> remoteFetches()
    • fetchOffsetMetadataMap

      public LinkedHashMap<org.apache.kafka.common.TopicIdPartition,org.apache.kafka.storage.internals.log.LogOffsetMetadata> fetchOffsetMetadataMap()
    • toString

      public String toString()
      Overrides:
      toString in class Object