Class CachingFileDataStore
- java.lang.Object
-
- org.apache.jackrabbit.core.data.AbstractDataStore
-
- org.apache.jackrabbit.oak.plugins.blob.AbstractSharedCachingDataStore
-
- org.apache.jackrabbit.oak.plugins.blob.datastore.CachingFileDataStore
-
- All Implemented Interfaces:
DataStore
,MultiDataStoreAware
,TypedDataStore
,SharedDataStore
public class CachingFileDataStore extends AbstractSharedCachingDataStore
File system implementation ofAbstractSharedCachingDataStore
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStore
SharedDataStore.Type
-
-
Constructor Summary
Constructors Constructor Description CachingFileDataStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMinRecordLength()
Get the minimum size of an object that should be stored in this data store.void
setMinRecordLength(int minRecordLength)
void
setProperties(java.util.Properties properties)
Properties required to configure the Backend-
Methods inherited from class org.apache.jackrabbit.oak.plugins.blob.AbstractSharedCachingDataStore
addMetadataRecord, addMetadataRecord, addRecord, addRecord, clearInUse, close, deleteAllMetadataRecords, deleteAllOlderThan, deleteMetadataRecord, deleteRecord, exists, getAllIdentifiers, getAllMetadataRecords, getAllRecords, getMetadataRecord, getRecord, getRecordForId, getRecordIfStored, getStats, getType, init, metadataRecordExists, setCacheSize, setPath, setStagingPurgeInterval, setStagingRetryInterval, setStagingSplitPercentage, setStatisticsProvider, setUploadThreads, updateModifiedDateOnAccess
-
Methods inherited from class org.apache.jackrabbit.core.data.AbstractDataStore
getRecordFromReference
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.plugins.blob.SharedDataStore
getRepositoryId, setRepositoryId
-
-
-
-
Method Detail
-
setProperties
public void setProperties(java.util.Properties properties)
Properties required to configure the Backend
-
getMinRecordLength
public int getMinRecordLength()
Description copied from interface:DataStore
Get the minimum size of an object that should be stored in this data store. Depending on the overhead and configuration, each store may return a different value.- Returns:
- the minimum size in bytes
-
setMinRecordLength
public void setMinRecordLength(int minRecordLength)
-
-