mirror of https://github.com/apache/jclouds.git
raised default timeout of get/put commands in blobstores
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2435 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
a8b7810062
commit
107ef1c040
|
@ -87,6 +87,7 @@ public interface S3Client {
|
|||
* @see #getObject(String, String)
|
||||
* @see GetObjectOptions
|
||||
*/
|
||||
@Timeout(duration = 10, timeUnit = TimeUnit.MINUTES)
|
||||
S3Object getObject(String bucketName, String key, GetOptions... options);
|
||||
|
||||
/**
|
||||
|
@ -157,6 +158,7 @@ public interface S3Client {
|
|||
* href="http://docs.amazonwebservices.com/AmazonS3/2006-03-01/index.html?RESTObjectPUT.html"
|
||||
* />
|
||||
*/
|
||||
@Timeout(duration = 10, timeUnit = TimeUnit.MINUTES)
|
||||
String putObject(String bucketName, S3Object object, PutObjectOptions... options);
|
||||
|
||||
/**
|
||||
|
@ -259,6 +261,7 @@ public interface S3Client {
|
|||
* @see CopyObjectOptions
|
||||
* @see org.jclouds.aws.s3.domain.CannedAccessPolicy
|
||||
*/
|
||||
@Timeout(duration = 10, timeUnit = TimeUnit.MINUTES)
|
||||
ObjectMetadata copyObject(String sourceBucket, String sourceObject, String destinationBucket,
|
||||
String destinationObject, CopyObjectOptions... options);
|
||||
|
||||
|
|
|
@ -200,12 +200,14 @@ public interface AzureBlobClient {
|
|||
* A Put Blob operation is permitted 10 minutes per MB to complete. If the operation is taking
|
||||
* longer than 10 minutes per MB on average, the operation will timeout.
|
||||
*/
|
||||
@Timeout(duration = 10, timeUnit = TimeUnit.MINUTES)
|
||||
String putBlob(String container, org.jclouds.azure.storage.blob.domain.AzureBlob object);
|
||||
|
||||
/**
|
||||
* The Get Blob operation reads or downloads a blob from the system, including its metadata and
|
||||
* properties.
|
||||
*/
|
||||
@Timeout(duration = 10, timeUnit = TimeUnit.MINUTES)
|
||||
org.jclouds.azure.storage.blob.domain.AzureBlob getBlob(String container, String name,
|
||||
GetOptions... options);
|
||||
|
||||
|
|
|
@ -120,10 +120,10 @@ public interface CloudFilesClient {
|
|||
|
||||
boolean containerExists(String container);
|
||||
|
||||
@Timeout(duration = 180, timeUnit = TimeUnit.SECONDS)
|
||||
@Timeout(duration = 10, timeUnit = TimeUnit.MINUTES)
|
||||
String putObject(String container, CFObject object);
|
||||
|
||||
@Timeout(duration = 180, timeUnit = TimeUnit.SECONDS)
|
||||
@Timeout(duration = 10, timeUnit = TimeUnit.MINUTES)
|
||||
CFObject getObject(String container, String name, GetOptions... options);
|
||||
|
||||
MutableObjectInfoWithMetadata getObjectInfo(String container, String name);
|
||||
|
|
Loading…
Reference in New Issue