Examples of BucketName


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

        return false;
      }
    }

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

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

        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
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.