public interface BatchGetRequestListener<RecordType extends ChannelRecord>
| Modifier and Type | Method and Description |
|---|---|
void |
batchRequestCompleted(AbstractBatchGetRequest<RecordType> request,
int recordCount,
int exceptionCount)
Event indicating that the batch request is complete
|
void |
exceptionInBatch(AbstractBatchGetRequest<RecordType> request,
Channel channel,
java.lang.Exception exception)
Event indicating that an exception has been thrown for a channel
|
void |
recordReceivedInBatch(AbstractBatchGetRequest<RecordType> request,
Channel channel,
RecordType record)
event indicating that a get event has been completed for a channel
|
void batchRequestCompleted(AbstractBatchGetRequest<RecordType> request, int recordCount, int exceptionCount)
request - in which the event occurredrecordCount - number of records completedexceptionCount - number of exceptionsvoid exceptionInBatch(AbstractBatchGetRequest<RecordType> request, Channel channel, java.lang.Exception exception)
request - in which the event occurredchannel - for which the exception occuredexception - that occurredvoid recordReceivedInBatch(AbstractBatchGetRequest<RecordType> request, Channel channel, RecordType record)
request - in which the event occurredchannel - for which the record was receivedrecord - which was received