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 |
MultiDataStore.addRecord(InputStream stream)
Creates a new data record in the primary data store.
|
DataRecord |
FileDataStore.addRecord(InputStream input)
Creates a new data record.
|
DataRecord |
DataStore.addRecord(InputStream stream)
Creates a new data record.
|
DataRecord |
CachingDataStore.addRecord(InputStream input)
Creates a new data record in
Backend . |
void |
MultiDataStore.close()
Close the data store
|
void |
DataStore.close()
Close the data store
|
void |
CachingDataStore.close() |
void |
Backend.close()
Close backend and release resources like database connection if any.
|
void |
AbstractBackend.close()
Close backend and release resources like database connection if any.
|
int |
MultiDataStore.deleteAllOlderThan(long min)
Delete objects that have a modified date older than the specified date
from the archive data store.
|
Set<DataIdentifier> |
FSBackend.deleteAllOlderThan(long min) |
int |
DataStore.deleteAllOlderThan(long min)
Delete objects that have a modified date older than the specified date.
|
int |
CachingDataStore.deleteAllOlderThan(long min) |
Set<DataIdentifier> |
Backend.deleteAllOlderThan(long timestamp)
Delete all records which are older than timestamp.
|
void |
CachingDataStore.deleteFromCache(DataIdentifier identifier) |
void |
MultiDataStoreAware.deleteRecord(DataIdentifier identifier)
Deletes a single DataRecord based on the given identifier.
|
void |
FSBackend.deleteRecord(DataIdentifier identifier) |
void |
FileDataStore.deleteRecord(DataIdentifier identifier) |
void |
CachingDataStore.deleteRecord(DataIdentifier identifier)
This method deletes record from
Backend and then from
LocalCache |
void |
Backend.deleteRecord(DataIdentifier identifier)
Delete record identified by identifier.
|
boolean |
FSBackend.exists(DataIdentifier identifier) |
boolean |
Backend.exists(DataIdentifier identifier)
This method check the existence of record in backend.
|
boolean |
FSBackend.exists(DataIdentifier identifier,
boolean touch) |
boolean |
Backend.exists(DataIdentifier identifier,
boolean touch)
This method check the existence of record in backend.
|
Iterator<DataIdentifier> |
MultiDataStore.getAllIdentifiers()
Get all identifiers from the archive data store.
|
Iterator<DataIdentifier> |
FSBackend.getAllIdentifiers() |
Iterator<DataIdentifier> |
DataStore.getAllIdentifiers()
Get all identifiers.
|
Iterator<DataIdentifier> |
CachingDataStore.getAllIdentifiers()
Retrieves all identifiers from
Backend . |
Iterator<DataIdentifier> |
Backend.getAllIdentifiers()
Returns identifiers of all records that exists in backend.
|
long |
FSBackend.getLastModified(DataIdentifier identifier) |
long |
CachingDataStore.getLastModified(DataIdentifier identifier)
|
long |
Backend.getLastModified(DataIdentifier identifier)
Return lastModified of record identified by identifier.
|
long |
DataRecord.getLength()
Returns the length of the binary stream in this record.
|
long |
CachingDataRecord.getLength() |
long |
FSBackend.getLength(DataIdentifier identifier) |
long |
CachingDataStore.getLength(DataIdentifier identifier)
Return the length of record from
LocalCache if available,
otherwise retrieve it from Backend . |
long |
Backend.getLength(DataIdentifier identifier)
Return length of record identified by identifier.
|
protected byte[] |
FileDataStore.getOrCreateReferenceKey() |
protected byte[] |
CachingDataStore.getOrCreateReferenceKey() |
protected byte[] |
AbstractDataStore.getOrCreateReferenceKey()
Returns the reference key of this data store.
|
DataRecord |
MultiDataStore.getRecord(DataIdentifier identifier)
Returns the identified data record from the primary data store.
|
DataRecord |
DataStore.getRecord(DataIdentifier identifier)
Returns the identified data record.
|
DataRecord |
CachingDataStore.getRecord(DataIdentifier identifier) |
DataRecord |
AbstractDataStore.getRecord(DataIdentifier identifier) |
DataRecord |
MultiDataStore.getRecordFromReference(String reference) |
DataRecord |
DataStore.getRecordFromReference(String reference)
Returns the record that matches the given binary reference.
|
DataRecord |
AbstractDataStore.getRecordFromReference(String reference) |
DataRecord |
MultiDataStore.getRecordIfStored(DataIdentifier identifier)
Check if a record for the given identifier exists in the primary data
store.
|
DataRecord |
FileDataStore.getRecordIfStored(DataIdentifier identifier)
Get a data record for the given identifier.
|
DataRecord |
DataStore.getRecordIfStored(DataIdentifier identifier)
Check if a record for the given identifier exists, and return it if yes.
|
DataRecord |
CachingDataStore.getRecordIfStored(DataIdentifier identifier)
Get a data record for the given identifier or null it data record doesn't
exist in
Backend |
InputStream |
FileDataRecord.getStream()
Returns the the binary stream in this record.
|
InputStream |
DataRecord.getStream()
Returns the the binary stream in this record.
|
InputStream |
CachingDataRecord.getStream() |
void |
FSBackend.init(CachingDataStore store,
String homeDir,
Properties prop) |
void |
FSBackend.init(CachingDataStore store,
String homeDir,
String config) |
void |
Backend.init(CachingDataStore store,
String homeDir,
String config)
This method initialize backend with the configuration.
|
void |
AbstractBackend.init(CachingDataStore dataStore,
String homeDir,
String config)
This method initialize backend with the configuration.
|
InputStream |
FSBackend.read(DataIdentifier identifier) |
InputStream |
Backend.read(DataIdentifier identifier)
Return inputstream of record identified by identifier.
|
void |
FSBackend.touch(DataIdentifier identifier,
long minModifiedDate) |
void |
Backend.touch(DataIdentifier identifier,
long minModifiedDate)
Update the lastModified of record if it's lastModified < minModifiedDate.
|
void |
FSBackend.touchAsync(DataIdentifier identifier,
long minModifiedDate,
AsyncTouchCallback callback) |
void |
Backend.touchAsync(DataIdentifier identifier,
long minModifiedDate,
AsyncTouchCallback callback)
Update the lastModified of record if it's lastModified < minModifiedDate
asynchronously.
|
void |
FSBackend.write(DataIdentifier identifier,
File src) |
void |
Backend.write(DataIdentifier identifier,
File file)
Stores file to backend with identifier used as key.
|
void |
FSBackend.writeAsync(DataIdentifier identifier,
File src,
AsyncUploadCallback callback) |
void |
Backend.writeAsync(DataIdentifier identifier,
File file,
AsyncUploadCallback callback)
Write file to backend in asynchronous mode.
|
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 |
DerbyDataStore.close()
Close the data store
|
void |
DbDataStore.close() |
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–2024 The Apache Software Foundation. All rights reserved.