Examples of thawBuckets()


Examples of com.splunk.shuttl.archiver.thaw.BucketThawer.thawBuckets()

    }

    logMetricsAtEndpoint(ENDPOINT_BUCKET_THAW);
    // thaw
    BucketThawer bucketThawer = BucketThawerFactory.createDefaultThawer();
    bucketThawer.thawBuckets(index, fromDate, toDate);

    JSONObject json = convertThawInfoToJSON(bucketThawer);
    List<JSONObject> jsons = RequestOnSearchPeers.createPost(
        ENDPOINT_BUCKET_THAW, index, from, to).execute().jsons;
    jsons.add(json);
View Full Code Here

Examples of com.splunk.shuttl.archiver.thaw.BucketThawer.thawBuckets()

    BucketThawer bucketThawer = BucketThawerFactory
        .createWithConfigAndSplunkSettingsAndLocalFileSystemPaths(tgzConf,
            splunkIndexesLayer, localFileSystemPaths);

    bucketThawer.thawBuckets(bucket.getIndex(), bucket.getEarliest(),
        bucket.getLatest());

    List<LocalBucket> buckets = bucketThawer.getThawedBuckets();
    assertEquals(1, buckets.size());
    Bucket thawedBucket = buckets.get(0);
View Full Code Here

Examples of com.splunk.shuttl.archiver.thaw.BucketThawer.thawBuckets()

  private void thawBuckets(Date early, Date later) {
    BucketThawer bucketThawer = BucketThawerFactory
        .createWithConfigAndSplunkSettingsAndLocalFileSystemPaths(config,
            splunkIndexesLayer, localFileSystemPaths);

    bucketThawer.thawBuckets(index, early, later);
  }

  private void archiveBuckets(LocalBucket b1, LocalBucket b2) {
    BucketArchiver bucketArchiver = BucketShuttlerFactory
        .createWithConfAndLocalPaths(config, localFileSystemPaths);
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.