2019-03-07 16:19:53 +01:00
|
|
|
package it.cavallium.strangedb.database;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
public interface IDatabase {
|
|
|
|
|
2019-04-20 15:54:40 +02:00
|
|
|
int DISK_BLOCK_SIZE = 4096;
|
|
|
|
|
2019-03-07 16:19:53 +01:00
|
|
|
void close() throws IOException;
|
|
|
|
|
|
|
|
boolean isClosed();
|
|
|
|
|
|
|
|
void closeAndClean() throws IOException;
|
|
|
|
}
|