public class ChainingCacheStoreEntry extends LowLevelCacheEntry
DATA_SUFFIX, externalId, key| Constructor and Description |
|---|
ChainingCacheStoreEntry(org.infinispan.loaders.decorators.ChainingCacheStore store,
String cacheName,
org.modeshape.jcr.value.BinaryKey key) |
| Modifier and Type | Method and Description |
|---|---|
Set<LowLevelCacheEntry> |
chainedEntries()
Get the set of LowLevelCacheEntries for each of the Chained cache stores
|
String |
getExternalIdentifier()
Generate a human-readable identifier for the location of this entry
|
InputStream |
getInputStream()
Get a raw input stream from the underlying store
|
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 ChainingCacheStoreEntry(org.infinispan.loaders.decorators.ChainingCacheStore store,
String cacheName,
org.modeshape.jcr.value.BinaryKey key)
store - the ChainingCacheStorecacheName - the cache name to use by defaultkey - the binary key we're interested inpublic InputStream getInputStream() throws org.modeshape.jcr.value.binary.BinaryStoreException
LowLevelCacheEntrygetInputStream in class LowLevelCacheEntryorg.modeshape.jcr.value.binary.BinaryStoreExceptionpublic void storeValue(InputStream stream) throws org.modeshape.jcr.value.binary.BinaryStoreException, IOException
LowLevelCacheEntrystoreValue in class LowLevelCacheEntrystream - binary content to REPLACE the content in the storeorg.modeshape.jcr.value.binary.BinaryStoreExceptionIOExceptionpublic String getExternalIdentifier()
LowLevelCacheEntrygetExternalIdentifier in class LowLevelCacheEntrypublic Set<LowLevelCacheEntry> chainedEntries()
Copyright © 2013 DuraSpace, Inc.. All Rights Reserved.