Package com.qiniu.storage
Class FixBlockUploader
- java.lang.Object
-
- com.qiniu.storage.FixBlockUploader
-
@Deprecated public class FixBlockUploader extends java.lang.ObjectDeprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFixBlockUploader.OptionsMetaDeprecated.
-
Constructor Summary
Constructors Constructor Description FixBlockUploader(int blockSize, Configuration configuration, Client client, Recorder recorder)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Responseupload(java.io.File file, java.lang.String token, java.lang.String key)Deprecated.Responseupload(java.io.File file, java.lang.String token, java.lang.String key, FixBlockUploader.OptionsMeta params, java.util.concurrent.ExecutorService pool, int maxRunningBlock)Deprecated.Responseupload(java.io.File file, java.lang.String token, java.lang.String key, java.util.concurrent.ExecutorService pool)Deprecated.Responseupload(java.io.InputStream is, long inputStreamLength, java.lang.String fileName, java.lang.String token, java.lang.String key)Deprecated.Responseupload(java.io.InputStream is, long inputStreamLength, java.lang.String fileName, java.lang.String token, java.lang.String key, FixBlockUploader.OptionsMeta params, java.util.concurrent.ExecutorService pool, int maxRunningBlock)Deprecated.Responseupload(java.io.InputStream is, long inputStreamLength, java.lang.String fileName, java.lang.String token, java.lang.String key, java.util.concurrent.ExecutorService pool)Deprecated.
-
-
-
Constructor Detail
-
FixBlockUploader
public FixBlockUploader(int blockSize, Configuration configuration, Client client, Recorder recorder)Deprecated.- Parameters:
blockSize- block size, eg: 1024 * 1024 * 8.configuration- Nullable, if null, then create a new one.client- Nullable, if null, then create a new one with configuration.recorder- Nullable.
-
-
Method Detail
-
upload
public Response upload(java.io.File file, java.lang.String token, java.lang.String key) throws QiniuException
Deprecated.- Throws:
QiniuException
-
upload
public Response upload(java.io.File file, java.lang.String token, java.lang.String key, java.util.concurrent.ExecutorService pool) throws QiniuException
Deprecated.- Throws:
QiniuException
-
upload
public Response upload(java.io.File file, java.lang.String token, java.lang.String key, FixBlockUploader.OptionsMeta params, java.util.concurrent.ExecutorService pool, int maxRunningBlock) throws QiniuException
Deprecated.- Throws:
QiniuException
-
upload
public Response upload(java.io.InputStream is, long inputStreamLength, java.lang.String fileName, java.lang.String token, java.lang.String key) throws QiniuException
Deprecated.- Throws:
QiniuException
-
upload
public Response upload(java.io.InputStream is, long inputStreamLength, java.lang.String fileName, java.lang.String token, java.lang.String key, java.util.concurrent.ExecutorService pool) throws QiniuException
Deprecated.- Throws:
QiniuException
-
upload
public Response upload(java.io.InputStream is, long inputStreamLength, java.lang.String fileName, java.lang.String token, java.lang.String key, FixBlockUploader.OptionsMeta params, java.util.concurrent.ExecutorService pool, int maxRunningBlock) throws QiniuException
Deprecated.- Throws:
QiniuException
-
-