Package com.orientechnologies.orient.server.handler.distributed

Examples of com.orientechnologies.orient.server.handler.distributed.ODistributedServerNodeRemote


      openDatabase(dbName, dbUser, dbPassword);

      final String engineName = connection.database.getStorage() instanceof OStorageLocal ? "local" : "memory";

      final ODistributedServerNodeRemote remoteServerNode = manager.getNode(remoteServerName);

      remoteServerNode.shareDatabase(connection.database, remoteServerName, dbUser, dbPassword, engineName, synchronousMode);

      sendOk(lastClientTxId);

      manager.addServerInConfiguration(dbName, remoteServerName, engineName, synchronousMode);
View Full Code Here


      openDatabase(dbUrl, dbUser, dbPassword);

      final String engineName = connection.database.getStorage() instanceof OStorageLocal ? "local" : "memory";

      final ODistributedServerNodeRemote remoteServerNode = manager.getNode(remoteServerName);

      remoteServerNode.shareDatabase(connection.database, remoteServerName, dbUser, dbPassword, engineName, synchronousMode);

      channel.acquireExclusiveLock();
      try {
        sendOk(lastClientTxId);
      } finally {
View Full Code Here

      openDatabase(dbUrl, dbUser, dbPassword);

      final String engineName = connection.database.getStorage() instanceof OStorageLocal ? "local" : "memory";

      final ODistributedServerNodeRemote remoteServerNode = manager.getNode(remoteServerName);

      remoteServerNode.shareDatabase(connection.database, remoteServerName, dbUser, dbPassword, engineName, synchronousMode);

      sendOk(lastClientTxId);

      manager.addServerInConfiguration(dbUrl, remoteServerName, engineName, synchronousMode);
View Full Code Here

TOP

Related Classes of com.orientechnologies.orient.server.handler.distributed.ODistributedServerNodeRemote

Copyright © 2018 www.massapicom. 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.