Class FSBackend
java.lang.Object
org.apache.jackrabbit.oak.spi.blob.AbstractSharedBackend
org.apache.jackrabbit.oak.plugins.blob.datastore.FSBackend
- All Implemented Interfaces:
org.apache.jackrabbit.oak.spi.blob.SharedBackend
public class FSBackend
extends org.apache.jackrabbit.oak.spi.blob.AbstractSharedBackend
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadataRecord(File input, String name) voidaddMetadataRecord(InputStream input, String name) voidclose()voiddeleteAllMetadataRecords(String prefix) booleandeleteMetadataRecord(String name) voiddeleteRecord(DataIdentifier identifier) booleanexists(DataIdentifier identifier) getAllMetadataRecords(String prefix) getMetadataRecord(String name) byte[]getRecord(DataIdentifier identifier) voidinit()booleanmetadataRecordExists(String name) read(DataIdentifier identifier) voidsetProperties(Properties properties) Properties used to configure the backend.voidwrite(DataIdentifier identifier, File file) Methods inherited from class org.apache.jackrabbit.oak.spi.blob.AbstractSharedBackend
getReferenceFromIdentifier
-
Field Details
-
FS_BACKEND_PATH
- See Also:
-
-
Constructor Details
-
FSBackend
public FSBackend()
-
-
Method Details
-
init
- Throws:
DataStoreException
-
read
- Throws:
DataStoreException
-
write
- Throws:
DataStoreException
-
getRecord
- Throws:
DataStoreException
-
getAllIdentifiers
- Throws:
DataStoreException
-
exists
- Throws:
DataStoreException
-
deleteRecord
- Throws:
DataStoreException
-
addMetadataRecord
- Throws:
DataStoreException
-
addMetadataRecord
- Throws:
DataStoreException
-
getMetadataRecord
-
getAllMetadataRecords
-
deleteMetadataRecord
-
deleteAllMetadataRecords
-
metadataRecordExists
-
getAllRecords
-
close
- Throws:
DataStoreException
-
getOrCreateReferenceKey
- Overrides:
getOrCreateReferenceKeyin classorg.apache.jackrabbit.oak.spi.blob.AbstractSharedBackend- Throws:
DataStoreException
-
setProperties
Properties used to configure the backend. These are mandatorily to be provided explicitly before calling {init()is invoked.- Parameters:
properties- to configure Backend
-