public class CheckCacheEntryFixity extends Object implements com.google.common.base.Function<LowLevelCacheEntry,org.fcrepo.kernel.utils.FixityResult>, Serializable
| Constructor and Description |
|---|
CheckCacheEntryFixity(URI dsChecksum,
long dsSize)
A constructor providing the checksum info to close over.
|
| Modifier and Type | Method and Description |
|---|---|
org.fcrepo.kernel.utils.FixityResult |
apply(LowLevelCacheEntry input) |
URI |
getChecksum()
Returns the expected checksum of the bytes to be verified.
|
long |
getSize()
Returns the expected number of bytes to be verified.
|
public CheckCacheEntryFixity(URI dsChecksum, long dsSize)
public org.fcrepo.kernel.utils.FixityResult apply(LowLevelCacheEntry input)
apply in interface com.google.common.base.Function<LowLevelCacheEntry,org.fcrepo.kernel.utils.FixityResult>public URI getChecksum()
public long getSize()
Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.