Package org.yamcs.yarch
Class YarchDatabase
java.lang.Object
org.yamcs.yarch.YarchDatabase
Handles all tables/streams/indexes for a Yamcs server
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the names of the loaded databases.static String
static StorageEngine
static String
static String
getHome()
static YarchDatabaseInstance
getInstance
(String yamcsInstance) static StorageEngine
getStorageEngine
(String storageEngineName) static Collection<StorageEngine>
static boolean
hasInstance
(String dbname) static boolean
instanceExistsOnDisk
(String yamcsInstance) static void
removeInstance
(String dbName) to be used for testingstatic void
-
Field Details
-
RDB_ENGINE_NAME
- See Also:
-
-
Constructor Details
-
YarchDatabase
public YarchDatabase()
-
-
Method Details
-
getInstance
- Parameters:
yamcsInstance
-
-
getDatabases
Returns the names of the loaded databases. -
hasInstance
-
instanceExistsOnDisk
-
removeInstance
to be used for testing- Parameters:
dbName
- database name to be removed
-
setHome
-
getHome
-
getDataDir
-
getDefaultStorageEngine
-
getStorageEngine
-
getStorageEngines
-
getStorageEngineNames
-
getDefaultStorageEngineName
-