Package com.splunk.shuttl.archiver.model

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


    return formats;
  }

  private Bucket createBucketWithErrorHandling(Bucket bucket,
      BucketFormat chosenFormat, String pathToBucketWithChosenBucket) {
    return new RemoteBucket(pathToBucketWithChosenBucket, bucket.getIndex(),
        bucket.getName(), chosenFormat);
  }
View Full Code Here


        bucketName);
  }

  private Bucket createBucketWithErrorHandling(String pathToBucket,
      String bucketIndex, String bucketName) {
    return new RemoteBucket(pathToBucket, bucketIndex, bucketName,
        (BucketFormat) null);
  }
View Full Code Here

   * @return {@link Bucket} that is "fake-remote". It's not really archived some
   *         where, but the object represents a bucket that is remote.
   */
  public static RemoteBucket createRemoteBucket() {
    try {
      return new RemoteBucket("/path", "itHasAnIndex",
          getNameWithEarliestAndLatestTime(new Date(), new Date()),
          BucketFormat.SPLUNK_BUCKET);
    } catch (Exception e) {
      TUtilsTestNG.failForException("Could not create remote bucket", e);
      return null;
View Full Code Here

TOP

Related Classes of com.splunk.shuttl.archiver.model.RemoteBucket

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.