org.apache.activemq.kaha
Class StoreFactory
java.lang.Object
org.apache.activemq.kaha.StoreFactory
public class StoreFactory
- extends Object
Factory for creating stores
- Version:
- $Revision: 1.2 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoreFactory
public StoreFactory()
open
public static Store open(String name,
String mode)
throws IOException
- open or create a Store
- Parameters:
name
- mode
-
- Returns:
- the opened/created store
- Throws:
IOException
delete
public static boolean delete(String name)
throws IOException
- Delete a database
- Parameters:
name
- of the database
- Returns:
- true if successful
- Throws:
IOException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.