public class ConsumerBatchMessage<T> extends Object
Constructor and Description |
---|
ConsumerBatchMessage(List<T> data) |
Modifier and Type | Method and Description |
---|---|
void |
ack()
Countdown if the sub message is successful.
|
void |
fail()
Countdown and fail-fast if the sub message is failed.
|
List<T> |
getData() |
boolean |
isSuccess() |
boolean |
waitFinish(long timeout) |
public boolean waitFinish(long timeout) throws InterruptedException
InterruptedException
public boolean isSuccess()
public void ack()
public void fail()
Copyright © 2023 The Apache Software Foundation. All rights reserved.