Package com.splunk.shuttl.archiver.archive

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


          createDirectoryInParent(tempDirectory, "bucketlocks"));
      ShuttlServerMBean serverMBean = ShuttlServer.getMBeanProxy();
      ArchiveRestHandler archiveRestHandler = new ArchiveRestHandler(
          new DefaultHttpClient(), serverMBean);

      return new BucketFreezer(bucketMover, bucketLocker, archiveRestHandler,
          mock(FailedBucketsArchiver.class));
    }
View Full Code Here


    FailedBucketsArchiver noOpFailedBucketsArchiver = mock(FailedBucketsArchiver.class);
    FailedBucketsArchiver realFailedBucketsArchiver = new FailedBucketsArchiver(
        bucketMover, bucketLocker);

    failingBucketFreezerWithoutRecovery = new BucketFreezer(bucketMover,
        bucketLocker, internalErrorRestHandler, noOpFailedBucketsArchiver);

    successfulBucketFreezerWithRecovery = new BucketFreezer(bucketMover,
        bucketLocker, successfulRealRestHandler, realFailedBucketsArchiver);
  }
View Full Code Here

TOP

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

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.