Package io.oxia.client.api
Interface CloseableIterable<T>
- Type Parameters:
T- the element type
- All Superinterfaces:
AutoCloseable,Iterable<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Releases any resources held by this iterable, cancelling iteration in progress.Methods inherited from interface Iterable
forEach, iterator, spliterator
-
Method Details
-
close
void close()Releases any resources held by this iterable, cancelling iteration in progress.- Specified by:
closein interfaceAutoCloseable
-