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 |
---|---|
Set<DataIdentifier> |
S3Backend.deleteAllOlderThan(long min) |
Iterator<DataIdentifier> |
S3Backend.getAllIdentifiers() |
Modifier and Type | Method and Description |
---|---|
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) |
long |
S3Backend.getLastModified(DataIdentifier identifier) |
long |
S3Backend.getLength(DataIdentifier identifier) |
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 | Field and Description |
---|---|
protected Map<DataIdentifier,Long> |
CachingDataStore.asyncDownloadCache
In memory map to hold in-progress asynchronous downloads.
|
protected Map<DataIdentifier,Long> |
CachingDataStore.asyncTouchCache
In memory map to hold in-progress asynchronous touch.
|
protected Map<DataIdentifier,WeakReference<DataIdentifier>> |
FileDataStore.inUse
All data identifiers that are currently in use are in this set until they are garbage collected.
|
protected Map<DataIdentifier,WeakReference<DataIdentifier>> |
FileDataStore.inUse
All data identifiers that are currently in use are in this set until they are garbage collected.
|
protected Map<DataIdentifier,WeakReference<DataIdentifier>> |
CachingDataStore.inUse
All data identifiers that are currently in use are in this set until they
are garbage collected.
|
protected Map<DataIdentifier,WeakReference<DataIdentifier>> |
CachingDataStore.inUse
All data identifiers that are currently in use are in this set until they
are garbage collected.
|
protected Map<DataIdentifier,Long> |
CachingDataStore.recLenCache
In memory cache to hold
DataRecord.getLength() against
DataIdentifier |
protected Map<DataIdentifier,Integer> |
CachingDataStore.uploadRetryMap
In memory map to hold failed asynchronous upload
DataIdentifier
and its retry count. |
Modifier and Type | Method and Description |
---|---|
DataIdentifier |
DataRecord.getIdentifier()
Returns the identifier of this record.
|
DataIdentifier |
AsyncUploadResult.getIdentifier() |
DataIdentifier |
AsyncTouchResult.getIdentifier() |
DataIdentifier |
AbstractDataRecord.getIdentifier()
Returns the data identifier.
|
Modifier and Type | Method and Description |
---|---|
Set<DataIdentifier> |
FSBackend.deleteAllOlderThan(long min) |
Set<DataIdentifier> |
Backend.deleteAllOlderThan(long timestamp)
Delete all records which are older than timestamp.
|
Iterator<DataIdentifier> |
MultiDataStore.getAllIdentifiers()
Get all identifiers from the archive data store.
|
Iterator<DataIdentifier> |
FSBackend.getAllIdentifiers() |
Iterator<DataIdentifier> |
FileDataStore.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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CachingDataStore.confirmDelete(DataIdentifier identifier)
Method to confirm that identifier can be deleted from
Backend |
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.
|
long |
FSBackend.getLastModified(DataIdentifier identifier) |
long |
CachingDataStore.getLastModified(DataIdentifier identifier)
|
long |
Backend.getLastModified(DataIdentifier identifier)
Return lastModified of record identified by identifier.
|
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.
|
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.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 |
protected String |
AbstractDataStore.getReferenceFromIdentifier(DataIdentifier identifier) |
boolean |
CachingDataStore.isInUse(DataIdentifier identifier) |
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.
|
Constructor and Description |
---|
AbstractDataRecord(AbstractDataStore store,
DataIdentifier identifier)
Creates a data record with the given identifier.
|
AsyncTouchResult(DataIdentifier identifier) |
AsyncUploadResult(DataIdentifier identifier,
File file) |
CachingDataRecord(CachingDataStore store,
DataIdentifier identifier) |
FileDataRecord(AbstractDataStore store,
DataIdentifier identifier,
File file)
Creates a data record based on the given identifier and file.
|
Modifier and Type | Field and Description |
---|---|
protected DataIdentifier |
DbInputStream.identifier |
Modifier and Type | Field and Description |
---|---|
protected Map<DataIdentifier,WeakReference<DataIdentifier>> |
DbDataStore.inUse
All data identifiers that are currently in use are in this set until they are garbage collected.
|
protected Map<DataIdentifier,WeakReference<DataIdentifier>> |
DbDataStore.inUse
All data identifiers that are currently in use are in this set until they are garbage collected.
|
Modifier and Type | Method and Description |
---|---|
Iterator<DataIdentifier> |
DbDataStore.getAllIdentifiers() |
Modifier and Type | Method and Description |
---|---|
void |
DbDataStore.deleteRecord(DataIdentifier identifier) |
DataRecord |
DbDataStore.getRecordIfStored(DataIdentifier identifier) |
protected void |
DbDataStore.usesIdentifier(DataIdentifier identifier) |
Constructor and Description |
---|
DbDataRecord(DbDataStore store,
DataIdentifier identifier,
long length,
long lastModified)
Creates a data record based on the given identifier and length.
|
DbInputStream(DbDataStore store,
DataIdentifier identifier)
Create a database input stream for the given identifier.
|
Modifier and Type | Method and Description |
---|---|
Set<DataIdentifier> |
VFSBackend.deleteAllOlderThan(long timestamp)
Delete all records which are older than timestamp.
|
Iterator<DataIdentifier> |
VFSBackend.getAllIdentifiers()
Returns identifiers of all records that exists in backend.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
protected String |
VFSBackend.resolveFileObjectRelPath(DataIdentifier identifier)
Returns a resolved relative file object path by the given entry identifier.
|
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.