public final class StoreFactory extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
delete(java.io.File directory)
Delete a database
|
static boolean |
delete(java.lang.String name)
Delete a database
|
static Store |
open(java.io.File directory,
java.lang.String mode)
Open or create a Store
|
static Store |
open(java.io.File directory,
java.lang.String mode,
java.util.concurrent.atomic.AtomicLong size)
Open or create a Store
|
static Store |
open(java.lang.String name,
java.lang.String mode)
open or create a Store
|
static Store |
open(java.lang.String name,
java.lang.String mode,
java.util.concurrent.atomic.AtomicLong size)
open or create a Store
|
public static Store open(java.lang.String name, java.lang.String mode) throws java.io.IOException
name - mode - java.io.IOExceptionpublic static Store open(java.io.File directory, java.lang.String mode) throws java.io.IOException
directory - mode - java.io.IOExceptionpublic static Store open(java.lang.String name, java.lang.String mode, java.util.concurrent.atomic.AtomicLong size) throws java.io.IOException
name - mode - size - java.io.IOExceptionpublic static Store open(java.io.File directory, java.lang.String mode, java.util.concurrent.atomic.AtomicLong size) throws java.io.IOException
directory - mode - size - java.io.IOExceptionpublic static boolean delete(java.lang.String name) throws java.io.IOException
name - of the databasejava.io.IOExceptionpublic static boolean delete(java.io.File directory) throws java.io.IOException
directory - java.io.IOExceptionCopyright © 2005-2012. All Rights Reserved.