public abstract class BasicCacheEntry extends Object implements org.fcrepo.kernel.utils.CacheEntry
| Constructor and Description |
|---|
BasicCacheEntry() |
| Modifier and Type | Method and Description |
|---|---|
org.fcrepo.kernel.utils.FixityResult |
checkFixity(URI checksum,
long size)
Calculate the fixity of a CacheEntry by piping it through
a simple fixity-calculating InputStream
|
public org.fcrepo.kernel.utils.FixityResult checkFixity(URI checksum, long size) throws javax.jcr.RepositoryException
checkFixity in interface org.fcrepo.kernel.utils.CacheEntrychecksum - the checksum previously generated for the entrysize - the size of the entryjavax.jcr.RepositoryExceptionCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.