Package org.apache.jackrabbit.core.data
Class CachingDataRecord
java.lang.Object
org.apache.jackrabbit.core.data.AbstractDataRecord
org.apache.jackrabbit.core.data.CachingDataRecord
- All Implemented Interfaces:
DataRecord
CachingDataRecord which stores reference to
CachingDataStore. This
class doesn't store any references to attributes but attributes are fetched
on demand from CachingDataStore.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the last modified of the record.longReturns the length of the binary stream in this record.Returns the the binary stream in this record.Methods inherited from class org.apache.jackrabbit.core.data.AbstractDataRecord
equals, getIdentifier, getReference, hashCode, toString
-
Constructor Details
-
CachingDataRecord
-
-
Method Details
-
getLastModified
public long getLastModified()Description copied from interface:DataRecordReturns the last modified of the record.- Returns:
- last modified time of the binary stream
-
getLength
Description copied from interface:DataRecordReturns the length of the binary stream in this record.- Returns:
- length of the binary stream
- Throws:
DataStoreException- if the record could not be accessed
-
getStream
Description copied from interface:DataRecordReturns the the binary stream in this record.- Returns:
- binary stream
- Throws:
DataStoreException- if the record could not be accessed
-