Package org.hive2hive.core.processes.implementations.common

Examples of org.hive2hive.core.processes.implementations.common.PutMetaFileStep


    process.add(new CheckWriteAccessStep(context, session.getProfileManager(), session.getRoot()));
    if (file.isFile()) {
      // file needs to upload the chunks and a meta file
      process.add(new InitializeChunksStep(context, dataManager, session.getFileConfiguration()));
      process.add(new CreateMetaFileStep(context));
      process.add(new PutMetaFileStep(context, dataManager));
    }
    process.add(new AddIndexToUserProfileStep(context, session.getProfileManager(), session.getRoot()));
    process.add(new PrepareNotificationStep(context));
    process.add(createNotificationProcess(context, networkManager));
View Full Code Here


    process.add(new ValidateFileSizeStep(context, session.getFileConfiguration(), false));
    process.add(new CheckWriteAccessStep(context, session.getProfileManager(), session.getRoot()));
    process.add(new File2MetaFileComponent(file, context, context, networkManager));
    process.add(new InitializeChunksStep(context, dataManager, session.getFileConfiguration()));
    process.add(new CreateNewVersionStep(context, session.getFileConfiguration()));
    process.add(new PutMetaFileStep(context, dataManager));
    process.add(new UpdateMD5inUserProfileStep(context, session.getProfileManager()));

    // TODO: cleanup can be made async because user operation does not depend on it
    process.add(new CleanupChunksStep(context, dataManager));
    process.add(new PrepareNotificationStep(context));
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.common.PutMetaFileStep

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.