Uses of Class
org.apache.jackrabbit.core.data.DataIdentifier
-
Packages that use DataIdentifier 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 -
-
Uses of DataIdentifier in org.apache.jackrabbit.aws.ext.ds
Methods in org.apache.jackrabbit.aws.ext.ds that return types with arguments of type DataIdentifier Modifier and Type Method Description Set<DataIdentifier>
S3Backend. deleteAllOlderThan(long min)
Iterator<DataIdentifier>
S3Backend. getAllIdentifiers()
Methods in org.apache.jackrabbit.aws.ext.ds with parameters of type DataIdentifier Modifier and Type Method 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)
-
Uses of DataIdentifier in org.apache.jackrabbit.core.data
Fields in org.apache.jackrabbit.core.data with type parameters of type DataIdentifier Modifier and Type Field 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>>
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,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,Long>
CachingDataStore. recLenCache
In memory cache to holdDataRecord.getLength()
againstDataIdentifier
protected Map<DataIdentifier,Integer>
CachingDataStore. uploadRetryMap
In memory map to hold failed asynchronous uploadDataIdentifier
and its retry count.Methods in org.apache.jackrabbit.core.data that return DataIdentifier Modifier and Type Method Description DataIdentifier
AbstractDataRecord. getIdentifier()
Returns the data identifier.DataIdentifier
AsyncTouchResult. getIdentifier()
DataIdentifier
AsyncUploadResult. getIdentifier()
DataIdentifier
DataRecord. getIdentifier()
Returns the identifier of this record.Methods in org.apache.jackrabbit.core.data that return types with arguments of type DataIdentifier Modifier and Type Method Description Set<DataIdentifier>
Backend. deleteAllOlderThan(long timestamp)
Delete all records which are older than timestamp.Set<DataIdentifier>
FSBackend. deleteAllOlderThan(long min)
Iterator<DataIdentifier>
Backend. getAllIdentifiers()
Returns identifiers of all records that exists in backend.Iterator<DataIdentifier>
CachingDataStore. getAllIdentifiers()
Retrieves all identifiers fromBackend
.Iterator<DataIdentifier>
DataStore. getAllIdentifiers()
Get all identifiers.Iterator<DataIdentifier>
FileDataStore. getAllIdentifiers()
Iterator<DataIdentifier>
FSBackend. getAllIdentifiers()
Iterator<DataIdentifier>
MultiDataStore. getAllIdentifiers()
Get all identifiers from the archive data store.Methods in org.apache.jackrabbit.core.data with parameters of type DataIdentifier Modifier and Type Method Description boolean
CachingDataStore. confirmDelete(DataIdentifier identifier)
Method to confirm that identifier can be deleted fromBackend
void
CachingDataStore. deleteFromCache(DataIdentifier identifier)
void
Backend. deleteRecord(DataIdentifier identifier)
Delete record identified by identifier.void
CachingDataStore. deleteRecord(DataIdentifier identifier)
This method deletes record fromBackend
and then fromLocalCache
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
Backend. exists(DataIdentifier identifier, boolean touch)
This method check the existence of record in backend.boolean
FSBackend. exists(DataIdentifier identifier)
boolean
FSBackend. exists(DataIdentifier identifier, boolean touch)
long
Backend. getLastModified(DataIdentifier identifier)
Return lastModified of record identified by identifier.long
CachingDataStore. getLastModified(DataIdentifier identifier)
long
FSBackend. getLastModified(DataIdentifier identifier)
long
Backend. getLength(DataIdentifier identifier)
Return length of record identified by identifier.long
CachingDataStore. getLength(DataIdentifier identifier)
Return the length of record fromLocalCache
if available, otherwise retrieve it fromBackend
.long
FSBackend. getLength(DataIdentifier identifier)
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
CachingDataStore. getRecordIfStored(DataIdentifier identifier)
Get a data record for the given identifier or null it data record doesn't exist inBackend
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.protected String
AbstractDataStore. getReferenceFromIdentifier(DataIdentifier identifier)
boolean
CachingDataStore. isInUse(DataIdentifier identifier)
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)
Constructors in org.apache.jackrabbit.core.data with parameters of type DataIdentifier Constructor 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. -
Uses of DataIdentifier in org.apache.jackrabbit.core.data.db
Fields in org.apache.jackrabbit.core.data.db declared as DataIdentifier Modifier and Type Field Description protected DataIdentifier
DbInputStream. identifier
Fields in org.apache.jackrabbit.core.data.db with type parameters of type DataIdentifier Modifier and Type Field 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.Methods in org.apache.jackrabbit.core.data.db that return types with arguments of type DataIdentifier Modifier and Type Method Description Iterator<DataIdentifier>
DbDataStore. getAllIdentifiers()
Methods in org.apache.jackrabbit.core.data.db with parameters of type DataIdentifier Modifier and Type Method Description void
DbDataStore. deleteRecord(DataIdentifier identifier)
DataRecord
DbDataStore. getRecordIfStored(DataIdentifier identifier)
protected void
DbDataStore. usesIdentifier(DataIdentifier identifier)
Constructors in org.apache.jackrabbit.core.data.db with parameters of type DataIdentifier Constructor 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. -
Uses of DataIdentifier in org.apache.jackrabbit.vfs.ext.ds
Methods in org.apache.jackrabbit.vfs.ext.ds that return types with arguments of type DataIdentifier Modifier and Type Method 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.Methods in org.apache.jackrabbit.vfs.ext.ds with parameters of type DataIdentifier Modifier and Type Method 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.
-