mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Improved documentation
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
package net.openhft.chronicle.hash;
|
||||
|
||||
/**
|
||||
* {@link HashQueryContext} + {@link AutoCloseable}, for external {@link ChronicleHash} queries
|
||||
* in <i>try-with-resources</i> blocks.
|
||||
*
|
||||
* @param <K> the hash key type
|
||||
* @see ChronicleHash#queryContext(Object)
|
||||
*/
|
||||
public interface ExternalHashQueryContext<K> extends HashQueryContext<K>, AutoCloseable {
|
||||
|
||||
/**
|
||||
* Could throw only unchecked exception.
|
||||
*/
|
||||
@Override
|
||||
void close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user