Package xal.ca
Interface BatchGetRequestListener<R extends ChannelRecord>
public interface BatchGetRequestListener<R extends ChannelRecord>
interface for listeners of batch request events
-
Method Summary
Modifier and TypeMethodDescriptionvoid
batchRequestCompleted
(AbstractBatchGetRequest<R> request, int recordCount, int exceptionCount) Event indicating that the batch request is completevoid
exceptionInBatch
(AbstractBatchGetRequest<R> request, Channel channel, Exception exception) Event indicating that an exception has been thrown for a channelvoid
recordReceivedInBatch
(AbstractBatchGetRequest<R> request, Channel channel, R recordType) event indicating that a get event has been completed for a channel
-
Method Details
-
batchRequestCompleted
Event indicating that the batch request is complete- Parameters:
request
- in which the event occurredrecordCount
- number of records completedexceptionCount
- number of exceptions
-
exceptionInBatch
Event indicating that an exception has been thrown for a channel- Parameters:
request
- in which the event occurredchannel
- for which the exception occurredexception
- that occurred
-
recordReceivedInBatch
event indicating that a get event has been completed for a channel- Parameters:
request
- in which the event occurredchannel
- for which the record was receivedrecordType
- which was received
-