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 |
Modifier and Type | Method and Description |
---|---|
BinaryValue |
Values.binaryFor(BinaryKey key,
long size) |
Modifier and Type | Method and Description |
---|---|
protected BinaryKey |
BackupService.RestoreActivity.binaryKeyFor(File binaryFile) |
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.
|
Modifier and Type | Method and Description |
---|---|
CountDownLatch |
TextExtractors.getWorkerLatch(BinaryKey binaryKey,
boolean createIfMissing) |
protected void |
BackupService.BackupActivity.writeToContentArea(BinaryKey key,
InputStream binaryContent) |
Modifier and Type | Method and Description |
---|---|
protected void |
BackupService.BackupActivity.writeToChangedArea(Iterable<BinaryKey> unusedBinaries) |
Modifier and Type | Method and Description |
---|---|
BinaryKey |
BinaryValueUsageChange.getKey()
Get the binary key.
|
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.
|
Constructor and Description |
---|
BinaryValueUnused(BinaryKey key) |
BinaryValueUsageChange(BinaryKey key) |
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.
|
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) |
Modifier and Type | Method and Description |
---|---|
BinaryKey |
BinaryValue.getKey()
Get the key for the binary value.
|
static BinaryKey |
BinaryKey.keyFor(byte[] content) |
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.
|
Modifier and Type | Field and Description |
---|---|
protected BinaryKey |
SharedLockingInputStream.key |
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
|
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) |
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) |
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) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
protected BinaryKey |
InfinispanBinaryStore.binaryKeyFromCacheKey(String key) |
Modifier and Type | Method and Description |
---|---|
Iterable<BinaryKey> |
InfinispanBinaryStore.getAllBinaryKeys() |
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) |
Modifier and Type | Method and Description |
---|---|
void |
InfinispanBinaryStore.markAsUnused(Iterable<BinaryKey> keys) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.