public class RetryQueue extends Object
| 构造器和说明 |
|---|
RetryQueue() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
List<ProducerBatch> |
expiredBatches(long timeoutMs) |
boolean |
isClosed() |
void |
put(ProducerBatch batch) |
List<ProducerBatch> |
remainingBatches() |
public void put(ProducerBatch batch)
public List<ProducerBatch> expiredBatches(long timeoutMs)
public List<ProducerBatch> remainingBatches()
public boolean isClosed()
public void close()
Copyright © 2019. All rights reserved.