public class CacheStoreEntry extends LowLevelCacheEntry
DATA_SUFFIX, externalId, key| Constructor and Description |
|---|
CacheStoreEntry(org.infinispan.loaders.CacheStore store,
String cacheName,
org.modeshape.jcr.value.BinaryKey key)
An entry in an infinispan CacheStore
|
| 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 CacheStore, with the same cache name,
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
|
org.infinispan.loaders.CacheStore |
getLowLevelStore()
Get the low-level cache store this entry is contained in
|
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 CacheStoreEntry(org.infinispan.loaders.CacheStore store,
String cacheName,
org.modeshape.jcr.value.BinaryKey key)
public org.infinispan.loaders.CacheStore getLowLevelStore()
public 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.