Package org.hive2hive.core.processes.implementations.context

Examples of org.hive2hive.core.processes.implementations.context.ChunkPKUpdateContext


        context.getFileName());
    int counter = 0;
    for (FileVersion version : metaFileSmall.getVersions()) {
      for (MetaChunk metaChunk : version.getMetaChunks()) {
        // each chunk gets an own context
        ChunkPKUpdateContext chunkContext = new ChunkPKUpdateContext(
            context.consumeOldProtectionKeys(), context.consumeNewProtectionKeys(), metaChunk);

        // create the step and wrap it to run asynchronous, attach it to the parent process
        ChangeProtectionKeysStep changeStep = new ChangeProtectionKeysStep(chunkContext, dataManager);
        getParent().add(new AsyncComponent(changeStep));
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.context.ChunkPKUpdateContext

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.