package org.zstack.storage.primary.smp;

import org.zstack.header.core.Completion;

/**
 * Created by xing5 on 2016/3/27.
 */
public abstract class BackupStorageKvmUploader {
    public abstract void uploadBits(String bsPath, String psPath, Completion completion);
}

package org.zstack.storage.primary.smp;

import org.zstack.header.core.ReturnValueCompletion;

/**
 * Created by xing5 on 2016/3/27.
 */
public abstract class BackupStorageKvmUploader {
    // When uploading an image from 'psPath' to backup storage, the 'bsPath'
    // might be allocated by the backup storage and returned by the completion,
    // instead of being known ahead of time.
    public abstract void uploadBits(String bsPath, String psPath, ReturnValueCompletion<String> completion);
}

Update the method signature of 'uploadBits()'
Update the method signature of 'uploadBits()'

Signed-off-by: David Lee <15c338f3b79a63a0d5423e9c6562cd312918fe74@gmail.com>
