Package org.hive2hive.core.processes.implementations.files.delete

Examples of org.hive2hive.core.processes.implementations.files.delete.DeleteSingleChunkStep


    logger.debug("Cleaning {} old file chunks.", chunksToDelete.size());
    int counter = 0;
    ProcessComponent prev = this;
    for (MetaChunk metaChunk : chunksToDelete) {
      logger.debug("Delete chunk {} of {}.", counter++, chunksToDelete.size());
      DeleteSingleChunkStep deleteStep = new DeleteSingleChunkStep(metaChunk.getChunkId(),
          protectionKeys, dataManager);

      // make async, insert it as next step
      AsyncComponent asyncDeletion = new AsyncComponent(deleteStep);
      getParent().insertNext(asyncDeletion, prev);
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.files.delete.DeleteSingleChunkStep

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.