Package com.splunk.shuttl.archiver.archive

Examples of com.splunk.shuttl.archiver.archive.BucketShuttler


    shuttlWithLocks(bucket, bucketLocks);
  }

  private void shuttlWithLocks(LocalBucket bucket, List<BucketLock> bucketLocks) {
    try {
      BucketShuttler bucketShuttler = createShuttler(bucket);
      bucket = bucketModifier.modifyLocalBucket(bucket);

      runShuttlerOnASeparateThread(bucket, bucketLocks, bucketShuttler);
    } finally {
      BucketLockCleaner.closeLocks(bucketLocks);
View Full Code Here


    new Thread(r).run();
  }

  private BucketShuttler createShuttler(LocalBucket bucket) {
    ArchiveConfiguration config = configProvider.createWithBucket(bucket);
    BucketShuttler bucketShuttler = shuttlProvider.createWithConfig(config);
    return bucketShuttler;
  }
View Full Code Here

TOP

Related Classes of com.splunk.shuttl.archiver.archive.BucketShuttler

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.