public class SharedS3DataStore extends S3DataStore implements org.apache.jackrabbit.oak.plugins.blob.SharedDataStore
SharedDataStore implementation for S3org.apache.jackrabbit.oak.plugins.blob.SharedDataStore.Type| Modifier and Type | Field and Description |
|---|---|
protected S3Backend |
backend |
propertiesasyncDownloadCache, asyncTouchCache, inUse, recLenCache, uploadRetryMapDIGEST| Constructor and Description |
|---|
SharedS3DataStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetadataRecord(File f,
String name) |
void |
addMetadataRecord(InputStream stream,
String name) |
protected Backend |
createBackend() |
void |
deleteAllMetadataRecords(String prefix) |
boolean |
deleteMetadataRecord(String name) |
List<DataRecord> |
getAllMetadataRecords(String prefix) |
Iterator<DataRecord> |
getAllRecords() |
DataRecord |
getMetadataRecord(String name) |
DataRecord |
getRecordForId(DataIdentifier identifier) |
org.apache.jackrabbit.oak.plugins.blob.SharedDataStore.Type |
getType() |
getMarkerFile, haveRecordForIdentifier, setPropertiesaddRecord, clearInUse, close, confirmDelete, deleteAllOlderThan, deleteFromCache, deleteRecord, getAllIdentifiers, getAsyncUploadLimit, getBackend, getCachePurgeResizeFactor, getCachePurgeTrigFactor, getCacheSize, getConcurrentUploadsThreads, getConfig, getLastModified, getLength, getMinRecordLength, getOrCreateReferenceKey, getPath, getPendingUploads, getRecord, getRecordIfStored, getUploadRetries, init, isContinueOnAsyncUploadFailure, isInUse, onAbort, onAbort, onFailure, onFailure, onSuccess, onSuccess, setAsyncUploadLimit, setCachePurgeResizeFactor, setCachePurgeTrigFactor, setCacheSize, setConcurrentUploadsThreads, setConfig, setContinueOnAsyncUploadFailure, setMinRecordLength, setPath, setProactiveCaching, setRecLengthCacheSize, setSecret, setTouchAsync, setUploadRetries, updateModifiedDateOnAccessencodeHexString, getRecordFromReference, getReferenceFromIdentifierprotected S3Backend backend
protected Backend createBackend()
createBackend in class S3DataStorepublic void addMetadataRecord(InputStream stream, String name) throws DataStoreException
addMetadataRecord in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStoreDataStoreExceptionpublic void addMetadataRecord(File f, String name) throws DataStoreException
addMetadataRecord in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStoreDataStoreExceptionpublic DataRecord getMetadataRecord(String name)
getMetadataRecord in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStorepublic List<DataRecord> getAllMetadataRecords(String prefix)
getAllMetadataRecords in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStorepublic boolean deleteMetadataRecord(String name)
deleteMetadataRecord in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStorepublic void deleteAllMetadataRecords(String prefix)
deleteAllMetadataRecords in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStorepublic Iterator<DataRecord> getAllRecords()
getAllRecords in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStorepublic DataRecord getRecordForId(DataIdentifier identifier) throws DataStoreException
getRecordForId in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStoreDataStoreExceptionpublic org.apache.jackrabbit.oak.plugins.blob.SharedDataStore.Type getType()
getType in interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStoreCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.