public class S3ObjectStore extends AbstractObjectStore
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3ObjectStore.Factory |
ObjectStore.Builder| Modifier | Constructor and Description |
|---|---|
protected |
S3ObjectStore(ObjectStoreBuilder builder,
com.distelli.aws.AWSCredentialsProviderFactory credProviderFactory,
com.distelli.aws.ClientConfigurations clientConfigs,
com.distelli.aws.AmazonWebServiceClients amazonClients) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortPut(ObjectPartKey partKey) |
void |
completePut(ObjectPartKey partKey,
List<ObjectPartId> partIds) |
void |
createBucket(String bucketName) |
URI |
createSignedGet(ObjectKey objectKey,
long timeout,
TimeUnit unit) |
void |
delete(ObjectKey objectKey) |
void |
deleteBucket(String bucketName) |
<T> T |
get(ObjectKey objectKey,
ObjectReader<T> objectReader,
Long start,
Long end) |
ObjectMetadata |
head(ObjectKey objectKey) |
List<ObjectKey> |
list(ObjectKey objectKey,
com.distelli.persistence.PageIterator iterator) |
ObjectPartId |
multipartPut(ObjectPartKey partKey,
int partNum,
long contentLength,
InputStream in) |
ObjectPartKey |
newMultipartPut(ObjectKey objectKey) |
void |
put(ObjectKey objectKey,
long contentLength,
InputStream in) |
get, get, multipartPut, multipartPut, put, putclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget@Inject protected S3ObjectStore(ObjectStoreBuilder builder, com.distelli.aws.AWSCredentialsProviderFactory credProviderFactory, com.distelli.aws.ClientConfigurations clientConfigs, com.distelli.aws.AmazonWebServiceClients amazonClients)
public void createBucket(String bucketName) throws AccessControlException
createBucket in interface ObjectStorecreateBucket in class AbstractObjectStoreAccessControlExceptionpublic void deleteBucket(String bucketName) throws AccessControlException
deleteBucket in interface ObjectStoredeleteBucket in class AbstractObjectStoreAccessControlExceptionpublic void put(ObjectKey objectKey, long contentLength, InputStream in)
put in interface ObjectStoreput in class AbstractObjectStorepublic ObjectMetadata head(ObjectKey objectKey)
head in interface ObjectStorehead in class AbstractObjectStorepublic <T> T get(ObjectKey objectKey, ObjectReader<T> objectReader, Long start, Long end) throws javax.persistence.EntityNotFoundException, IOException
get in interface ObjectStoreget in class AbstractObjectStorejavax.persistence.EntityNotFoundExceptionIOExceptionpublic List<ObjectKey> list(ObjectKey objectKey, com.distelli.persistence.PageIterator iterator)
list in interface ObjectStorelist in class AbstractObjectStorepublic void delete(ObjectKey objectKey)
delete in interface ObjectStoredelete in class AbstractObjectStorepublic URI createSignedGet(ObjectKey objectKey, long timeout, TimeUnit unit)
createSignedGet in interface ObjectStorecreateSignedGet in class AbstractObjectStorepublic ObjectPartKey newMultipartPut(ObjectKey objectKey)
newMultipartPut in interface ObjectStorenewMultipartPut in class AbstractObjectStorepublic ObjectPartId multipartPut(ObjectPartKey partKey, int partNum, long contentLength, InputStream in)
multipartPut in interface ObjectStoremultipartPut in class AbstractObjectStorepublic void abortPut(ObjectPartKey partKey)
abortPut in interface ObjectStoreabortPut in class AbstractObjectStorepublic void completePut(ObjectPartKey partKey, List<ObjectPartId> partIds)
completePut in interface ObjectStorecompletePut in class AbstractObjectStoreCopyright © 2017. All rights reserved.