Package com.couchbase.client.vbucket

Examples of com.couchbase.client.vbucket.ConfigurationException


  }

  public Config getVBucketConfig() {
    Bucket config = configurationProvider.getBucketConfiguration(bucket);
    if(config == null) {
      throw new ConfigurationException("Could not fetch valid configuration "
        + "from provided nodes. Stopping.");
    } else if (config.isNotUpdating()) {
      LOGGER.warning("Noticed bucket configuration to be disconnected, "
        + "will attempt to reconnect");
      setConfigurationProvider(new ConfigurationProviderHTTP(storedBaseList,
View Full Code Here


  @Override
  public Bucket bootstrap() {
    isBinary = false;
    if (!bootstrapBinary() && !bootstrapHttp()) {
      throw new ConfigurationException("Could not fetch a valid Bucket "
        + "configuration.");
    }

    if (isBinary) {
      getLogger().info("Could bootstrap through carrier publication.");
View Full Code Here

  @Override
  public Bucket bootstrap() {
    isBinary = false;
    if (!bootstrapBinary() && !bootstrapHttp()) {
      throw new ConfigurationException("Could not fetch a valid Bucket "
        + "configuration.");
    }

    if (isBinary) {
      getLogger().info("Could bootstrap through carrier publication.");
View Full Code Here

  }

  public Config getVBucketConfig() {
    Bucket config = configurationProvider.getBucketConfiguration(bucket);
    if(config == null) {
      throw new ConfigurationException("Could not fetch valid configuration "
        + "from provided nodes. Stopping.");
    } else if (config.isNotUpdating()) {
      LOGGER.warning("Noticed bucket configuration to be disconnected, "
        + "will attempt to reconnect");
      setConfigurationProvider(new ConfigurationProviderHTTP(storedBaseList,
View Full Code Here

   *
   * @return an atomic reference to the current Map of buckets
   */
  private AtomicReference<Map<String, Bucket>> getCurrentBuckets() {
    if (currentBuckets == null) {
      throw new ConfigurationException("Buckets were never populated.");
    }
    return currentBuckets;
  }
View Full Code Here

  }

  public Config getVBucketConfig() {
    Bucket config = configurationProvider.getBucketConfiguration(bucket);
    if(config == null) {
      throw new ConfigurationException("Could not fetch valid configuration "
        + "from provided nodes. Stopping.");
    } else if (config.isNotUpdating()) {
      LOGGER.warning("Noticed bucket configuration to be disconnected, "
        + "will attempt to reconnect");
      setConfigurationProvider(new ConfigurationProviderHTTP(storedBaseList,
View Full Code Here

  @Override
  public Bucket bootstrap() {
    isBinary = false;
    if (!bootstrapBinary() && !bootstrapHttp()) {
      throw new ConfigurationException("Could not fetch a valid Bucket "
        + "configuration.");
    }

    if (isBinary) {
      getLogger().info("Could bootstrap through carrier publication.");
View Full Code Here

      getLogger().debug("Omitting bootstrap since already shutdown.");
    }

    isBinary = false;
    if (!bootstrapBinary() && !bootstrapHttp()) {
      throw new ConfigurationException("Could not fetch a valid Bucket "
        + "configuration.");
    }

    if (isBinary) {
      getLogger().info("Could bootstrap through carrier publication.");
View Full Code Here

      getLogger().debug("Omitting bootstrap since already shutdown.");
    }

    isBinary = false;
    if (!bootstrapBinary() && !bootstrapHttp()) {
      throw new ConfigurationException("Could not fetch a valid Bucket "
        + "configuration.");
    }

    if (isBinary) {
      getLogger().info("Could bootstrap through carrier publication.");
View Full Code Here

  }

  public Config getVBucketConfig() {
    Bucket config = configurationProvider.getBucketConfiguration(bucket);
    if(config == null) {
      throw new ConfigurationException("Could not fetch valid configuration "
        + "from provided nodes. Stopping.");
    } else if (config.isNotUpdating()) {
      LOGGER.warning("Noticed bucket configuration to be disconnected, "
        + "will attempt to reconnect");
      setConfigurationProvider(new ConfigurationProviderHTTP(storedBaseList,
View Full Code Here

TOP

Related Classes of com.couchbase.client.vbucket.ConfigurationException

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.