All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsimpledb.kv.CloseableKVStore Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version

/*
 * 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