All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.helper.IVodUploadStrategy Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.helper;

import com.github.rholder.retry.Retryer;
import com.volcengine.service.vod.impl.VodServiceImpl;
import com.volcengine.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.volcengine.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.volcengine.helper.VodUploadProgressListener listener) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy