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

- Packages that use BinaryKey
  Package | Description
  --- | ---
  org.modeshape.connector.git |
  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 |
  org.modeshape.jcr.value.binary.infinispan |

- - ### Uses of BinaryKey in org.modeshape.connector.git

    Methods in org.modeshape.connector.git with parameters of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `BinaryValue` | Values.`binaryFor(BinaryKey key, long size)`

  - ### Uses of BinaryKey in org.modeshape.jcr

    Methods in org.modeshape.jcr that return BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `protected BinaryKey` | BackupService.RestoreActivity.`binaryKeyFor(File binaryFile)`

    Methods in org.modeshape.jcr that return types with arguments of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<BinaryKey>` | BackupObserver.`getUnusedBinaryKeys()` Get the binary keys that have been marked as being unused during the time this observer was listening to the repository.
    `Iterable<BinaryKey>` | BackupObserver.`getUsedBinaryKeys()` Get the binary keys that have been marked as being used during the time this observer was listening to the repository.

    Methods in org.modeshape.jcr with parameters of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `CountDownLatch` | TextExtractors.`getWorkerLatch(BinaryKey binaryKey, boolean createIfMissing)`
    `protected void` | BackupService.BackupActivity.`writeToContentArea(BinaryKey key, InputStream binaryContent)`

    Method parameters in org.modeshape.jcr with type arguments of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BackupService.BackupActivity.`writeToChangedArea(Iterable<BinaryKey> unusedBinaries)`

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

    Methods in org.modeshape.jcr.cache.change that return BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `BinaryKey` | BinaryValueUsageChange.`getKey()` Get the binary key.

    Methods in org.modeshape.jcr.cache.change with parameters of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `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.
    `protected void` | ChangeSetAdapter.`binaryValueUnused(BinaryKey key)` Handle the marking of a binary value as being unused.

    Constructors in org.modeshape.jcr.cache.change with parameters of type BinaryKey
    Constructor and Description
    `BinaryValueUnused(BinaryKey key)`
    `BinaryValueUsageChange(BinaryKey key)`

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

    Methods in org.modeshape.jcr.cache.document with parameters of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `void` | DocumentTranslator.`addPropertyValues(EditableDocument document, Name propertyName, boolean isMultiple, Collection<?> values, Set<BinaryKey> unusedBinaryKeys)`
    `protected void` | 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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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

    Fields in org.modeshape.jcr.value.binary declared as BinaryKey
    Modifier and Type | Field and Description
    --- | ---
    `protected BinaryKey` | SharedLockingInputStream.`key`

    Methods in org.modeshape.jcr.value.binary that return BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `BinaryKey` | AbstractBinary.`getKey()`
    `static BinaryKey` | AbstractBinary.`keyFor(byte[] sha1)`
    `BinaryKey` | CompositeBinaryStore.`moveValue(BinaryKey key, String source, String destination)` Move a value from one named store to another store

    Methods in org.modeshape.jcr.value.binary that return types with arguments of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<BinaryKey>` | MongodbBinaryStore.`getAllBinaryKeys()`
    `Iterable<BinaryKey>` | FileSystemBinaryStore.`getAllBinaryKeys()`
    `Iterable<BinaryKey>` | DatabaseBinaryStore.`getAllBinaryKeys()`
    `Iterable<BinaryKey>` | CompositeBinaryStore.`getAllBinaryKeys()`
    `Iterable<BinaryKey>` | CassandraBinaryStore.`getAllBinaryKeys()`
    `Iterable<BinaryKey>` | BinaryStore.`getAllBinaryKeys()` Obtain an iterable implementation containing all of the store's binary keys.
    `protected Set<BinaryKey>` | Database.`getBinaryKeys(Connection connection)`

    Methods in org.modeshape.jcr.value.binary with parameters of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | Database.`contentExists(BinaryKey key, boolean inUse, Connection connection)`
    `BinaryValue` | BinaryStoreValueFactory.`find(BinaryKey secureHash, long size)`
    `BinaryStore` | CompositeBinaryStore.`findBinaryStoreContainingKey(BinaryKey key)` Get the named binary store that contains the key
    `protected File` | FileSystemBinaryStore.`findFile(File directory, BinaryKey key, boolean createParentDirsIfMissing)`
    `protected String` | Database.`getExtractedText(BinaryKey key, Connection connection)`
    `InputStream` | MongodbBinaryStore.`getInputStream(BinaryKey key)`
    `InputStream` | FileSystemBinaryStore.`getInputStream(BinaryKey key)`
    `InputStream` | DatabaseBinaryStore.`getInputStream(BinaryKey key)`
    `InputStream` | CompositeBinaryStore.`getInputStream(BinaryKey key)`
    `InputStream` | CassandraBinaryStore.`getInputStream(BinaryKey key)`
    `InputStream` | BinaryStore.`getInputStream(BinaryKey key)` Get an `InputStream` to the binary content with the supplied key.
    `protected String` | Database.`getMimeType(BinaryKey key, Connection connection)`
    `boolean` | CompositeBinaryStore.`hasBinary(BinaryKey key)`
    `boolean` | BinaryStore.`hasBinary(BinaryKey key)` Searches for a binary which has the given key in this store.
    `boolean` | AbstractBinaryStore.`hasBinary(BinaryKey key)`
    `protected void` | Database.`insertContent(BinaryKey key, InputStream stream, long size, Connection connection)`
    `protected void` | FileSystemBinaryStore.`markAsUnused(BinaryKey key)`
    `protected void` | FileSystemBinaryStore.`moveFileExclusively(File original, File destination, BinaryKey key)`
    `void` | CompositeBinaryStore.`moveValue(BinaryKey key, String destination)` Move a BinaryKey to a named store
    `BinaryKey` | CompositeBinaryStore.`moveValue(BinaryKey key, String source, String destination)` Move a value from one named store to another store
    `protected InputStream` | Database.`readContent(BinaryKey key, Connection connection)` Attempts to return the content stream for a given binary value.
    `protected void` | Database.`restoreContent(BinaryKey key, Connection connection)`
    `protected void` | Database.`setExtractedText(BinaryKey key, String text, Connection connection)`
    `protected void` | Database.`setMimeType(BinaryKey key, String mimeType, Connection connection)`

    Method parameters in org.modeshape.jcr.value.binary with type arguments of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `void` | MongodbBinaryStore.`markAsUnused(Iterable<BinaryKey> keys)`
    `void` | FileSystemBinaryStore.`markAsUnused(Iterable<BinaryKey> keys)`
    `void` | DatabaseBinaryStore.`markAsUnused(Iterable<BinaryKey> keys)`
    `void` | CompositeBinaryStore.`markAsUnused(Iterable<BinaryKey> keys)`
    `void` | CassandraBinaryStore.`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.
    `protected void` | Database.`markUnused(Iterable<BinaryKey> keys, Connection connection)`

    Constructors in org.modeshape.jcr.value.binary with parameters of type BinaryKey
    Constructor and Description
    `AbstractBinary(BinaryKey key)`
    `ExternalBinaryValue(BinaryKey key, String sourceName, String id, long size, String nameHint, MimeTypeDetector mimeTypeDetector)` Creates a new instance, with the given params
    `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)`

  - ### Uses of BinaryKey in org.modeshape.jcr.value.binary.infinispan

    Methods in org.modeshape.jcr.value.binary.infinispan that return BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `protected BinaryKey` | InfinispanBinaryStore.`binaryKeyFromCacheKey(String key)`

    Methods in org.modeshape.jcr.value.binary.infinispan that return types with arguments of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<BinaryKey>` | InfinispanBinaryStore.`getAllBinaryKeys()`

    Methods in org.modeshape.jcr.value.binary.infinispan with parameters of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | InfinispanBinaryStore.`dataKeyFrom(BinaryKey key)`
    `InputStream` | InfinispanBinaryStore.`getInputStream(BinaryKey binaryKey)`
    `protected String` | InfinispanBinaryStore.`lockKeyFrom(BinaryKey key)`
    `protected String` | InfinispanBinaryStore.`metadataKeyFrom(BinaryKey key)`
    `protected String` | InfinispanBinaryStore.`textKeyFrom(BinaryKey key)`

    Method parameters in org.modeshape.jcr.value.binary.infinispan with type arguments of type BinaryKey
    Modifier and Type | Method and Description
    --- | ---
    `void` | InfinispanBinaryStore.`markAsUnused(Iterable<BinaryKey> keys)`

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