Package com.splunk.shuttl.archiver.model

Examples of com.splunk.shuttl.archiver.model.BucketName$IllegalBucketNameException


        return false;
      }
    }

    private void verifyBucketName(String fileName) {
      BucketName bucketName = new BucketName(fileName);
      bucketName.getDB();
      bucketName.getEarliest();
      bucketName.getLatest();
      bucketName.getIndex();
    }
View Full Code Here


        replicatedBucketName, Math.abs(new Random().nextLong()), guid);
  }

  public static String replaceEverythingAfterEarliestTimeWithIndexAndGuid(
      String bucketName, long newBucketIndex, String guid) {
    String bucketIndex = new BucketName(bucketName).getIndex();
    int idx = bucketName.lastIndexOf(bucketIndex);
    String removedIndex = bucketName.substring(0, idx);
    return removedIndex + newBucketIndex + "_" + guid;
  }
View Full Code Here

TOP

Related Classes of com.splunk.shuttl.archiver.model.BucketName$IllegalBucketNameException

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.