-
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
BufferAllocator
,ComponentIterator<T>
,Send<T>
- All Known Implementing Classes:
PooledBufferAllocator
,SendFromOwned
,SendFromSupplier
,SensitiveBufferAllocator
,SingleComponentIterator
public interface SafeCloseable extends AutoCloseable
ASafeCloseable
can be safely closed without risk of an exception being thrown.This interface extends
AutoCloseable
so instances can be used in try-with-resources clauses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
-
-
-
Method Detail
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
-
-