java.lang.Object
com.chutneytesting.component.scenario.infra.orient.OrientDBManager

@Component public class OrientDBManager extends Object
  • Constructor Details

  • 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

      public void backup(String dbName, OutputStream outputStream) throws UncheckedIOException
      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

      public com.orientechnologies.orient.core.db.ODatabasePool getDBPool(String dbName)
    • dropOrientDB

      public void dropOrientDB(String dbName)