Class OrientDBManager
java.lang.Object
com.chutneytesting.component.scenario.infra.orient.OrientDBManager
-
Constructor Summary
ConstructorsConstructorDescriptionOrientDBManager(OrientConfigurationProperties orientConfigurationProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidbackup(String dbName, OutputStream outputStream) Backup database with given name as zil file into given stream.voidcreateOrientDB(String dbName, com.orientechnologies.orient.core.db.ODatabaseType dbType) voiddestroy()voiddropOrientDB(String dbName) com.orientechnologies.orient.core.db.ODatabasePoolvoidinit()
-
Constructor Details
-
OrientDBManager
-
-
Method Details
-
init
@PostConstruct public void init() -
destroy
@PreDestroy public void destroy() -
createOrientDB
public void createOrientDB(String dbName, com.orientechnologies.orient.core.db.ODatabaseType dbType) -
backup
Backup database with given name as zil file into given stream. Be aware that the stream will be closed after this method call.- Throws:
UncheckedIOException
-
getDBPool
-
dropOrientDB
-