public class LocalBinaryStoreEntry extends LowLevelCacheEntry
DATA_SUFFIX, externalId, key| Constructor and Description |
|---|
LocalBinaryStoreEntry(org.modeshape.jcr.value.binary.BinaryStore store,
org.modeshape.jcr.value.BinaryKey key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Two LowLevelCacheEntries are the same if they have the same key,
come from the same BinaryStore,
and have the same underlying store configuration
|
String |
getExternalIdentifier()
Generate a human-readable identifier for the location of this entry
|
InputStream |
getInputStream()
Get a raw input stream from the underlying store
|
int |
hashCode() |
void |
storeValue(InputStream stream)
Send a raw input stream to the underlying store for this entry; used for
fixing e.g.
|
checkFixity, getExternalId, getKey, setExternalIdpublic LocalBinaryStoreEntry(org.modeshape.jcr.value.binary.BinaryStore store,
org.modeshape.jcr.value.BinaryKey key)
store - a Modeshape BinaryStorekey - the binary key we're interested inpublic InputStream getInputStream() throws org.modeshape.jcr.value.binary.BinaryStoreException
getInputStream in class LowLevelCacheEntryorg.modeshape.jcr.value.binary.BinaryStoreExceptionpublic void storeValue(InputStream stream) throws org.modeshape.jcr.value.binary.BinaryStoreException, IOException
storeValue in class LowLevelCacheEntrystream - binary content to REPLACE the content in the storeorg.modeshape.jcr.value.binary.BinaryStoreExceptionIOExceptionpublic String getExternalIdentifier()
getExternalIdentifier in class LowLevelCacheEntrypublic boolean equals(Object other)
Copyright © 2013 DuraSpace, Inc.. All Rights Reserved.