com.byteplus.helper.IVodUploadStrategy Maven / Gradle / Ivy
package com.byteplus.helper;
import com.github.rholder.retry.Retryer;
import com.byteplus.service.vod.impl.VodServiceImpl;
import com.byteplus.service.vod.model.business.VodHeaderPair;
import java.io.File;
import java.util.List;
public interface IVodUploadStrategy {
void directUpload(VodServiceImpl vodService, String host, String oid, String auth, List uploadHeaderList, File file, Retryer retryer, int storageClass, com.byteplus.helper.VodUploadProgressListener listener) throws Exception;
void chunkUpload(VodServiceImpl vodService, String host, String oid, String auth, List uploadHeaderList, File file, boolean isLargeFile, Retryer retryer, int storageClass, com.byteplus.helper.VodUploadProgressListener listener) throws Exception;
}