Package com.splunk.shuttl.archiver.archive

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


      LocalFileSystemPaths localFileSystemPaths, GlacierClient glacierClient,
      ArchiveFileSystem archiveMetaStore, ArchiveConfiguration config) {
    TgzFormatExporter tgzFormatExporter = TgzFormatExporter
        .create(CreatesBucketTgz.create(localFileSystemPaths));
    Logger logger = Logger.getLogger(GlacierArchiveFileSystem.class);
    BucketDeleter bucketDeleter = BucketDeleter.create();

    MetadataStore metadataStore = MetadataStore.create(config,
        archiveMetaStore, localFileSystemPaths);

    return new GlacierArchiveFileSystem(archiveMetaStore, glacierClient,
View Full Code Here


        .getThawedPathExpanded());
    return TUtilsBucket.createBucketInDirectoryWithIndex(thawDirectory, index);
  }

  public static void deleteBuckets(LocalBucket... buckets) {
    BucketDeleter deleter = BucketDeleter.create();
    for (LocalBucket b : buckets)
      deleter.deleteBucket(b);
  }
View Full Code Here

TOP

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

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.