|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.kaha.StoreFactory
public final class StoreFactory
Factory for creating stores
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Store open(String name, String mode) throws IOException
name
- mode
-
IOException
public static Store open(File directory, String mode) throws IOException
directory
- mode
-
IOException
public static Store open(String name, String mode, AtomicLong size) throws IOException
name
- mode
- size
-
IOException
public static Store open(File directory, String mode, AtomicLong size) throws IOException
directory
- mode
- size
-
IOException
public static boolean delete(String name) throws IOException
name
- of the database
IOException
public static boolean delete(File directory) throws IOException
directory
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |