
org.jsimpledb.kv.CloseableKVStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsimpledb-kv Show documentation
Show all versions of jsimpledb-kv Show documentation
JSimpleDB classes relating to the key/value store API.
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package org.jsimpledb.kv;
import java.io.Closeable;
/**
* Implemented by {@link KVStore}s that must be {@link #close}ed when no longer in use.
*
*
* Note that the {@link #close} method of this interface does not throw {@link java.io.IOException}.
*/
public interface CloseableKVStore extends KVStore, Closeable {
/**
* Close this {@link KVStore} and release any resources associated with it.
*
*
* If this instance is already closed, then nothing happens.
*/
@Override
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy