Examples of OStorageAbstract


Examples of com.orientechnologies.orient.core.storage.OStorageAbstract

   public ODeployDatabaseTask(final ODatabaseRecordTx db) {
     random = UUID.randomUUID().getLeastSignificantBits();

     if (db != null) {
       // TO USE IN CASE OF CHECK CLUSTERS (SPLIT-NETWORK)
       final OStorageAbstract stg = (OStorageAbstract) db.getStorage().getUnderlying();

       final ODocument clusters = new ODocument();
       databaseConfiguration.field("clusters", clusters);

       for (String clName : stg.getClusterNames()) {
         final OCluster c = stg.getClusterByName(clName);

         final ODocument cluster = new ODocument();
         clusters.field(clName, cluster);

         try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.