Interface Batch
- All Superinterfaces:
AutoCloseable
Exposes a mechanism to close a batch, and potentially discard it.
- Author:
- Paul Ferraro
-
Method Details
-
discard
void discard()Discards this batch. A discarded batch must still be closed. -
getState
Batch.State getState()Returns the state of this batch.- Returns:
- the state of this batch.
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-