Examples of OContextConfiguration


Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  protected void loadConfiguration(final OServerConfiguration iConfiguration) {
    try {
      configuration = iConfiguration;

      // FILL THE CONTEXT CONFIGURATION WITH SERVER'S PARAMETERS
      contextConfiguration = new OContextConfiguration();
      if (iConfiguration.properties != null)
        for (OServerEntryConfiguration prop : iConfiguration.properties)
          contextConfiguration.setValue(prop.name, prop.value);

      loadStorages();
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  public ODistributedServerNodeRemote(final ODistributedServerManager iNode, final String iServerAddress, final int iServerPort) {
    manager = iNode;
    networkAddress = iServerAddress;
    networkPort = iServerPort;
    joinedOn = new Date();
    configuration = new OContextConfiguration();
    id = networkAddress + ":" + networkPort;
    status = STATUS.CONNECTING;

    asynchExecutor = Executors.newSingleThreadExecutor();
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  public OStorageRemote(final String iURL, final String iMode) throws IOException {
    super(iURL, iURL, iMode);
    configuration = null;

    clientConfiguration = new OContextConfiguration();
    connectionRetry = clientConfiguration.getValueAsInteger(OGlobalConfiguration.NETWORK_SOCKET_RETRY);
    connectionRetryDelay = clientConfiguration.getValueAsInteger(OGlobalConfiguration.NETWORK_SOCKET_RETRY_DELAY);

    parseServerURLs();
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  public OStorageRemote(final String iURL, final String iMode) throws IOException {
    super(iURL, iURL, iMode);
    configuration = null;

    clientConfiguration = new OContextConfiguration();
    connectionRetry = clientConfiguration.getValueAsInteger(OGlobalConfiguration.NETWORK_SOCKET_RETRY);
    connectionRetryDelay = clientConfiguration.getValueAsInteger(OGlobalConfiguration.NETWORK_SOCKET_RETRY_DELAY);

    parseServerURLs();
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  private OContextConfiguration            contextConfig;
  private String                          rootPassword;

  public OServerShutdownMain(final String iServerAddress, final String iServerPorts, final String iRootPassword) {
    contextConfig = new OContextConfiguration();

    try {
      if (iRootPassword == null) {
        // LOAD SERVER ROOT'S PASSWORD
        loadConfiguration();
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  public OStorageRemote(final String iURL, final String iMode) throws IOException {
    super(iURL, iURL, iMode);
    configuration = null;

    clientConfiguration = new OContextConfiguration();
    connectionRetry = clientConfiguration.getValueAsInteger(OGlobalConfiguration.NETWORK_SOCKET_RETRY);
    connectionRetryDelay = clientConfiguration.getValueAsInteger(OGlobalConfiguration.NETWORK_SOCKET_RETRY_DELAY);

    level2cache.startup();
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  protected void loadConfiguration(final OServerConfiguration iConfiguration) {
    try {
      configuration = iConfiguration;

      // FILL THE CONTEXT CONFIGURATION WITH SERVER'S PARAMETERS
      contextConfiguration = new OContextConfiguration();
      if (iConfiguration.properties != null)
        for (OServerEntryConfiguration prop : iConfiguration.properties)
          contextConfiguration.setValue(prop.name, prop.value);

      loadStorages();
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  protected void loadConfiguration(final OServerConfiguration iConfiguration) {
    try {
      configuration = iConfiguration;

      // FILL THE CONTEXT CONFIGURATION WITH SERVER'S PARAMETERS
      contextConfiguration = new OContextConfiguration();
      if (iConfiguration.properties != null)
        for (OServerEntryConfiguration prop : iConfiguration.properties)
          contextConfiguration.setValue(prop.name, prop.value);

      loadStorages();
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

  public ODistributedServerNodeRemote(final ODistributedServerManager iNode, final String iServerAddress, final int iServerPort) {
    manager = iNode;
    networkAddress = iServerAddress;
    networkPort = iServerPort;
    joinedOn = new Date();
    configuration = new OContextConfiguration();
    id = networkAddress + ":" + networkPort;
    status = STATUS.CONNECTING;

    asynchExecutor = Executors.newSingleThreadExecutor();
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.config.OContextConfiguration

   * configuration.
   *
   * @param iServerConfig
   */
  private void readParameters(final OContextConfiguration iServerConfig, final OServerParameterConfiguration[] iParameters) {
    configuration = new OContextConfiguration(iServerConfig);

    // SET PARAMETERS
    if (iParameters != null && iParameters.length > 0) {
      // CONVERT PARAMETERS IN MAP TO INTIALIZE THE CONTEXT-CONFIGURATION
      for (OServerParameterConfiguration param : iParameters)
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.