Uses of Class
org.apache.jackrabbit.core.data.DataStoreException

Packages that use DataStoreException
org.apache.jackrabbit.core.data   
org.apache.jackrabbit.core.data.db   
 

Uses of DataStoreException in org.apache.jackrabbit.core.data
 

Methods in org.apache.jackrabbit.core.data that throw DataStoreException
 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.
 int MultiDataStore.deleteAllOlderThan(long min)
          Delete objects that have a modified date older than the specified date from the archive data store.
 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 MultiDataStoreAware.deleteRecord(DataIdentifier identifier)
          Deletes a single DataRecord based on the given 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 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.
 Iterator<DataIdentifier> MultiDataStore.getAllIdentifiers()
          Get all identifiers from the archive data store.
 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 CachingDataStore.getLastModified(DataIdentifier identifier)
          Return lastModified of record from Backend assuming Backend as a single source of truth.
 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 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 Backend.init(CachingDataStore store, String homeDir, String config)
          This method initialize backend with the configuration.
 InputStream Backend.read(DataIdentifier identifier)
          Return inputstream of record identified by identifier.
 void Backend.write(DataIdentifier identifier, File file)
          Stores file to backend with identifier used as key.
 void Backend.writeAsync(DataIdentifier identifier, File file, AsyncUploadCallback callback)
          Write file to backend in asynchronous mode.
 

Uses of DataStoreException in org.apache.jackrabbit.core.data.db
 

Methods in org.apache.jackrabbit.core.data.db that return DataStoreException
protected  DataStoreException DbDataStore.convert(String cause, Exception e)
          Convert an exception to a data store exception.
 

Methods in org.apache.jackrabbit.core.data.db that throw DataStoreException
 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()
           
 



Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.