ModeShape Distribution 3.0.0.Beta1

Uses of Class
org.modeshape.jcr.value.BinaryKey

Packages that use BinaryKey
org.modeshape.jcr   
org.modeshape.jcr.cache.change   
org.modeshape.jcr.cache.document   
org.modeshape.jcr.value Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for representing and working with properties and their values. 
org.modeshape.jcr.value.binary   
 

Uses of BinaryKey in org.modeshape.jcr
 

Methods in org.modeshape.jcr with parameters of type BinaryKey
 CountDownLatch TextExtractors.getWorkerLatch(BinaryKey binaryKey, boolean createIfMissing)
           
 

Uses of BinaryKey in org.modeshape.jcr.cache.change
 

Methods in org.modeshape.jcr.cache.change that return BinaryKey
 BinaryKey BinaryValueUnused.getKey()
          Get the binary key.
 

Methods in org.modeshape.jcr.cache.change with parameters of type BinaryKey
 void RecordingChanges.binaryValueNoLongerUsed(BinaryKey key)
           
 void NoOpChanges.binaryValueNoLongerUsed(BinaryKey key)
           
 void Changes.binaryValueNoLongerUsed(BinaryKey key)
          Create an event that signals that the (stored) binary value with the supplied key is no longer used.
 

Constructors in org.modeshape.jcr.cache.change with parameters of type BinaryKey
BinaryValueUnused(BinaryKey key)
           
 

Uses of BinaryKey in org.modeshape.jcr.cache.document
 

Methods in org.modeshape.jcr.cache.document with parameters of type BinaryKey
protected  void DocumentTranslator.incrementBinaryReferenceCount(BinaryKey binaryKey, Set<BinaryKey> unusedBinaryKeys)
          Increment the reference count for the stored binary value with the supplied SHA-1 hash.
 

Method parameters in org.modeshape.jcr.cache.document with type arguments of type BinaryKey
 void DocumentTranslator.addPropertyValues(EditableDocument document, Name propertyName, boolean isMultiple, Collection<?> values, Set<BinaryKey> unusedBinaryKeys)
           
protected  boolean DocumentTranslator.decrementBinaryReferenceCount(Object fieldValue, Set<BinaryKey> unusedBinaryKeys)
          Decrement the reference count for the binary value.
protected  void DocumentTranslator.incrementBinaryReferenceCount(BinaryKey binaryKey, Set<BinaryKey> unusedBinaryKeys)
          Increment the reference count for the stored binary value with the supplied SHA-1 hash.
 Property DocumentTranslator.removeProperty(EditableDocument document, Name propertyName, Set<BinaryKey> unusedBinaryKeys)
           
 void DocumentTranslator.removePropertyValues(EditableDocument document, Name propertyName, Collection<?> values, Set<BinaryKey> unusedBinaryKeys)
           
 void DocumentTranslator.setProperty(EditableDocument document, Property property, Set<BinaryKey> unusedBinaryKeys)
           
protected  Object DocumentTranslator.valueToDocument(Object value, Set<BinaryKey> unusedBinaryKeys)
           
 

Uses of BinaryKey in org.modeshape.jcr.value
 

Methods in org.modeshape.jcr.value that return BinaryKey
 BinaryKey BinaryValue.getKey()
          Get the key for the binary value.
static BinaryKey BinaryKey.keyFor(byte[] content)
           
 

Methods in org.modeshape.jcr.value with parameters of type BinaryKey
 int BinaryKey.compareTo(BinaryKey other)
           
 BinaryValue BinaryFactory.find(BinaryKey secureHash, long size)
          Find an existing binary value given the supplied binary key.
 

Uses of BinaryKey in org.modeshape.jcr.value.binary
 

Methods in org.modeshape.jcr.value.binary that return BinaryKey
 BinaryKey AbstractBinary.getKey()
           
static BinaryKey AbstractBinary.keyFor(byte[] sha1)
           
 

Methods in org.modeshape.jcr.value.binary with parameters of type BinaryKey
 BinaryValue BinaryStoreValueFactory.find(BinaryKey secureHash, long size)
           
protected  File FileSystemBinaryStore.findFile(File directory, BinaryKey key, boolean createParentDirsIfMissing)
           
 InputStream InfinispanBinaryStore.getInputStream(BinaryKey key)
           
 InputStream FileSystemBinaryStore.getInputStream(BinaryKey key)
           
 InputStream DatabaseBinaryStore.getInputStream(BinaryKey key)
           
 InputStream BinaryStore.getInputStream(BinaryKey key)
          Get an InputStream to the binary content with the supplied key.
protected  void FileSystemBinaryStore.markAsUnused(BinaryKey key)
           
 

Method parameters in org.modeshape.jcr.value.binary with type arguments of type BinaryKey
 void InfinispanBinaryStore.markAsUnused(Iterable<BinaryKey> keys)
           
 void FileSystemBinaryStore.markAsUnused(Iterable<BinaryKey> keys)
           
 void DatabaseBinaryStore.markAsUnused(Iterable<BinaryKey> keys)
           
 void BinaryStore.markAsUnused(Iterable<BinaryKey> keys)
          Mark the supplied binary keys as unused, but key them in quarantine until needed again (at which point they're removed from quarantine) or until BinaryStore.removeValuesUnusedLongerThan(long, TimeUnit) is called.
 

Constructors in org.modeshape.jcr.value.binary with parameters of type BinaryKey
AbstractBinary(BinaryKey key)
           
InMemoryBinaryValue(BinaryStore store, BinaryKey key, byte[] bytes)
           
SharedLockingInputStream(BinaryKey key, File file, NamedLocks lockManager)
          Create a self-closing, (shared) locking InputStream to read the content of the supplied file.
StoredBinaryValue(BinaryStore store, BinaryKey key, long size)
           
 


ModeShape Distribution 3.0.0.Beta1

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.