public class TierFetchResult extends Object
Modifier and Type | Field and Description |
---|---|
List<org.apache.kafka.storage.internals.log.AbortedTxn> |
abortedTxns |
Throwable |
exception |
long |
fetchTotalTimeNanos |
ReclaimableMemoryRecords |
records |
Constructor and Description |
---|
TierFetchResult(ReclaimableMemoryRecords records,
List<org.apache.kafka.storage.internals.log.AbortedTxn> abortedTxns,
Throwable exception,
long fetchTotalTimeNanos) |
Modifier and Type | Method and Description |
---|---|
static TierFetchResult |
emptyFetchResult() |
boolean |
isEmpty() |
String |
toString() |
public final ReclaimableMemoryRecords records
public final Throwable exception
public final List<org.apache.kafka.storage.internals.log.AbortedTxn> abortedTxns
public final long fetchTotalTimeNanos
public TierFetchResult(ReclaimableMemoryRecords records, List<org.apache.kafka.storage.internals.log.AbortedTxn> abortedTxns, Throwable exception, long fetchTotalTimeNanos)
public static TierFetchResult emptyFetchResult()
public boolean isEmpty()