Package | Description |
---|---|
org.apache.jackrabbit.aws.ext.ds | |
org.apache.jackrabbit.core.data | |
org.apache.jackrabbit.core.data.db | |
org.apache.jackrabbit.vfs.ext.ds |
Modifier and Type | Method and Description |
---|---|
void |
S3Backend.close() |
Set<DataIdentifier> |
S3Backend.deleteAllOlderThan(long min) |
void |
S3Backend.deleteRecord(DataIdentifier identifier) |
boolean |
S3Backend.exists(DataIdentifier identifier)
Check if record identified by identifier exists in Amazon S3.
|
boolean |
S3Backend.exists(DataIdentifier identifier,
boolean touch) |
Iterator<DataIdentifier> |
S3Backend.getAllIdentifiers() |
long |
S3Backend.getLastModified(DataIdentifier identifier) |
long |
S3Backend.getLength(DataIdentifier identifier) |
void |
S3Backend.init(CachingDataStore store,
String homeDir,
Properties prop) |
void |
S3Backend.init(CachingDataStore store,
String homeDir,
String config)
Initialize S3Backend.
|
InputStream |
S3Backend.read(DataIdentifier identifier) |
void |
S3Backend.touch(DataIdentifier identifier,
long minModifiedDate) |
void |
S3Backend.touchAsync(DataIdentifier identifier,
long minModifiedDate,
AsyncTouchCallback callback) |
void |
S3Backend.write(DataIdentifier identifier,
File file)
It uploads file to Amazon S3.
|
void |
S3Backend.writeAsync(DataIdentifier identifier,
File file,
AsyncUploadCallback callback) |
Modifier and Type | Method and Description |
---|---|
DataRecord |
CachingDataStore.addRecord(InputStream input)
Creates a new data record in
Backend . |
DataRecord |
DataStore.addRecord(InputStream stream)
Creates a new data record.
|
DataRecord |
FileDataStore.addRecord(InputStream input)
Creates a new data record.
|
DataRecord |
MultiDataStore.addRecord(InputStream stream)
Creates a new data record in the primary data store.
|
void |
AbstractBackend.close()
Close backend and release resources like database connection if any.
|
void |
Backend.close()
Close backend and release resources like database connection if any.
|
void |
CachingDataStore.close() |
void |
DataStore.close()
Close the data store
|
void |
MultiDataStore.close()
Close the data store
|
Set<DataIdentifier> |
Backend.deleteAllOlderThan(long timestamp)
Delete all records which are older than timestamp.
|
int |
CachingDataStore.deleteAllOlderThan(long min) |
int |
DataStore.deleteAllOlderThan(long min)
Delete objects that have a modified date older than the specified date.
|
Set<DataIdentifier> |
FSBackend.deleteAllOlderThan(long min) |
int |
MultiDataStore.deleteAllOlderThan(long min)
Delete objects that have a modified date older than the specified date
from the archive data store.
|
void |
CachingDataStore.deleteFromCache(DataIdentifier identifier) |
void |
Backend.deleteRecord(DataIdentifier identifier)
Delete record identified by identifier.
|
void |
CachingDataStore.deleteRecord(DataIdentifier identifier)
This method deletes record from
Backend and then from
LocalCache |
void |
FileDataStore.deleteRecord(DataIdentifier identifier) |
void |
FSBackend.deleteRecord(DataIdentifier identifier) |
void |
MultiDataStoreAware.deleteRecord(DataIdentifier identifier)
Deletes a single DataRecord based on the given identifier.
|
boolean |
Backend.exists(DataIdentifier identifier)
This method check the existence of record in backend.
|
boolean |
FSBackend.exists(DataIdentifier identifier) |
boolean |
Backend.exists(DataIdentifier identifier,
boolean touch)
This method check the existence of record in backend.
|
boolean |
FSBackend.exists(DataIdentifier identifier,
boolean touch) |
Iterator<DataIdentifier> |
Backend.getAllIdentifiers()
Returns identifiers of all records that exists in backend.
|
Iterator<DataIdentifier> |
CachingDataStore.getAllIdentifiers()
Retrieves all identifiers from
Backend . |
Iterator<DataIdentifier> |
DataStore.getAllIdentifiers()
Get all identifiers.
|
Iterator<DataIdentifier> |
FSBackend.getAllIdentifiers() |
Iterator<DataIdentifier> |
MultiDataStore.getAllIdentifiers()
Get all identifiers from the archive data store.
|
long |
Backend.getLastModified(DataIdentifier identifier)
Return lastModified of record identified by identifier.
|
long |
CachingDataStore.getLastModified(DataIdentifier identifier)
|
long |
FSBackend.getLastModified(DataIdentifier identifier) |
long |
CachingDataRecord.getLength() |
long |
DataRecord.getLength()
Returns the length of the binary stream in this record.
|
long |
Backend.getLength(DataIdentifier identifier)
Return length of record identified by identifier.
|
long |
CachingDataStore.getLength(DataIdentifier identifier)
Return the length of record from
LocalCache if available,
otherwise retrieve it from Backend . |
long |
FSBackend.getLength(DataIdentifier identifier) |
protected byte[] |
AbstractDataStore.getOrCreateReferenceKey()
Returns the reference key of this data store.
|
protected byte[] |
CachingDataStore.getOrCreateReferenceKey() |
protected byte[] |
FileDataStore.getOrCreateReferenceKey() |
DataRecord |
AbstractDataStore.getRecord(DataIdentifier identifier) |
DataRecord |
CachingDataStore.getRecord(DataIdentifier identifier) |
DataRecord |
DataStore.getRecord(DataIdentifier identifier)
Returns the identified data record.
|
DataRecord |
MultiDataStore.getRecord(DataIdentifier identifier)
Returns the identified data record from the primary data store.
|
DataRecord |
AbstractDataStore.getRecordFromReference(String reference) |
DataRecord |
DataStore.getRecordFromReference(String reference)
Returns the record that matches the given binary reference.
|
DataRecord |
MultiDataStore.getRecordFromReference(String reference) |
DataRecord |
CachingDataStore.getRecordIfStored(DataIdentifier identifier)
Get a data record for the given identifier or null it data record doesn't
exist in
Backend |
DataRecord |
DataStore.getRecordIfStored(DataIdentifier identifier)
Check if a record for the given identifier exists, and return it if yes.
|
DataRecord |
FileDataStore.getRecordIfStored(DataIdentifier identifier)
Get a data record for the given identifier.
|
DataRecord |
MultiDataStore.getRecordIfStored(DataIdentifier identifier)
Check if a record for the given identifier exists in the primary data
store.
|
InputStream |
CachingDataRecord.getStream() |
InputStream |
DataRecord.getStream()
Returns the the binary stream in this record.
|
InputStream |
FileDataRecord.getStream()
Returns the the binary stream in this record.
|
void |
FSBackend.init(CachingDataStore store,
String homeDir,
Properties prop) |
void |
AbstractBackend.init(CachingDataStore dataStore,
String homeDir,
String config)
This method initialize backend with the configuration.
|
void |
Backend.init(CachingDataStore store,
String homeDir,
String config)
This method initialize backend with the configuration.
|
void |
FSBackend.init(CachingDataStore store,
String homeDir,
String config) |
InputStream |
Backend.read(DataIdentifier identifier)
Return inputstream of record identified by identifier.
|
InputStream |
FSBackend.read(DataIdentifier identifier) |
void |
Backend.touch(DataIdentifier identifier,
long minModifiedDate)
Update the lastModified of record if it's lastModified < minModifiedDate.
|
void |
FSBackend.touch(DataIdentifier identifier,
long minModifiedDate) |
void |
Backend.touchAsync(DataIdentifier identifier,
long minModifiedDate,
AsyncTouchCallback callback)
Update the lastModified of record if it's lastModified < minModifiedDate
asynchronously.
|
void |
FSBackend.touchAsync(DataIdentifier identifier,
long minModifiedDate,
AsyncTouchCallback callback) |
void |
Backend.write(DataIdentifier identifier,
File file)
Stores file to backend with identifier used as key.
|
void |
FSBackend.write(DataIdentifier identifier,
File src) |
void |
Backend.writeAsync(DataIdentifier identifier,
File file,
AsyncUploadCallback callback)
Write file to backend in asynchronous mode.
|
void |
FSBackend.writeAsync(DataIdentifier identifier,
File src,
AsyncUploadCallback callback) |
Modifier and Type | Method and Description |
---|---|
protected DataStoreException |
DbDataStore.convert(String cause,
Exception e)
Convert an exception to a data store exception.
|
Modifier and Type | Method and Description |
---|---|
DataRecord |
DbDataStore.addRecord(InputStream stream) |
void |
DbDataStore.close() |
void |
DerbyDataStore.close()
Close the data store
|
int |
DbDataStore.deleteAllOlderThan(long min) |
void |
DbDataStore.deleteRecord(DataIdentifier identifier) |
Iterator<DataIdentifier> |
DbDataStore.getAllIdentifiers() |
protected MessageDigest |
DbDataStore.getDigest() |
long |
DbDataRecord.getLength()
Returns the length of the binary stream in this record.
|
DataRecord |
DbDataStore.getRecordIfStored(DataIdentifier identifier) |
InputStream |
DbDataRecord.getStream()
Returns the the binary stream in this record.
|
void |
DbDataStore.init(String homeDir) |
protected void |
DbDataStore.initDatabaseType() |
Modifier and Type | Method and Description |
---|---|
void |
VFSDataStore.close() |
Set<DataIdentifier> |
VFSBackend.deleteAllOlderThan(long timestamp)
Delete all records which are older than timestamp.
|
void |
VFSBackend.deleteRecord(DataIdentifier identifier)
Delete record identified by identifier.
|
boolean |
VFSBackend.exists(DataIdentifier identifier)
This method check the existence of record in backend.
|
boolean |
VFSBackend.exists(DataIdentifier identifier,
boolean touch)
This method check the existence of record in backend.
|
Iterator<DataIdentifier> |
VFSBackend.getAllIdentifiers()
Returns identifiers of all records that exists in backend.
|
protected org.apache.commons.vfs2.FileObject |
VFSBackend.getExistingFileObject(DataIdentifier identifier)
Returns the identified file object.
|
long |
VFSBackend.getLastModified(DataIdentifier identifier)
Return lastModified of record identified by identifier.
|
long |
VFSBackend.getLength(DataIdentifier identifier)
Return length of record identified by identifier.
|
protected org.apache.commons.vfs2.FileObject |
VFSBackend.getTouchFileObject(org.apache.commons.vfs2.FileObject fileObject,
boolean create)
Returns the touch file for the fileObject.
|
void |
VFSBackend.init(CachingDataStore store,
String homeDir,
String config)
This method initialize backend with the configuration.
|
InputStream |
VFSBackend.read(DataIdentifier identifier)
Return inputstream of record identified by identifier.
|
protected org.apache.commons.vfs2.FileObject |
VFSBackend.resolveFileObject(DataIdentifier identifier)
Returns a resolved identified file object.
|
void |
VFSBackend.touch(DataIdentifier identifier,
long minModifiedDate)
Update the lastModified of record if it's lastModified < minModifiedDate.
|
void |
VFSBackend.touchAsync(DataIdentifier identifier,
long minModifiedDate,
AsyncTouchCallback callback)
Update the lastModified of record if it's lastModified < minModifiedDate
asynchronously.
|
void |
VFSBackend.write(DataIdentifier identifier,
File file)
Stores file to backend with identifier used as key.
|
void |
VFSBackend.writeAsync(DataIdentifier identifier,
File file,
AsyncUploadCallback callback)
Write file to backend in asynchronous mode.
|
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.