Interface ExchangeSourceHandleSource
- All Superinterfaces:
AutoCloseable,Closeable
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record -
Method Summary
-
Method Details
-
getNextBatch
Returns a next batch ofExchangeSourceHandles.Cannot be called when a future returned by a previous invocation is not yet finished.
ExchangeSourceHandleSource.ExchangeSourceHandleBatch.lastBatch()returns true when finished.- Returns:
- a future containing a batch of
ExchangeSourceHandles.
-
close
void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-