public final class StoreFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
delete(File directory)
Delete a database
|
static boolean |
delete(String name)
Delete a database
|
static Store |
open(File directory,
String mode)
Open or create a Store
|
static Store |
open(File directory,
String mode,
AtomicLong size)
Open or create a Store
|
static Store |
open(String name,
String mode)
open or create a Store
|
static Store |
open(String name,
String mode,
AtomicLong size)
open or create a Store
|
public static Store open(String name, String mode) throws IOException
name - mode - IOExceptionpublic static Store open(File directory, String mode) throws IOException
directory - mode - IOExceptionpublic static Store open(String name, String mode, AtomicLong size) throws IOException
name - mode - size - IOExceptionpublic static Store open(File directory, String mode, AtomicLong size) throws IOException
directory - mode - size - IOExceptionpublic static boolean delete(String name) throws IOException
name - of the databaseIOExceptionpublic static boolean delete(File directory) throws IOException
directory - IOExceptionCopyright © 2005–2017. All rights reserved.