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