| Modifier and Type | Method | Description |
|---|---|---|
Hash |
ContentAddressableStoreEvent.getHash() |
Each event is associated with a hash.
|
Hash |
ContentAddressableStore.write(InputStream stream) |
Write content to the store, returning its hash.
|
Hash |
ContentAddressableStore.write(InputStream stream,
List<ContentEncoding> encodings) |
Write content to the store in raw format and also formats specified in
the ContentEncodings.
|
Hash |
ContentAddressableStoreFileImpl.write(InputStream inputStream) |
|
Hash |
ContentAddressableStoreFileImpl.write(InputStream inputStream,
List<ContentEncoding> encodings) |
|
Hash |
ContentAddressableStoreInfinispanImpl.write(InputStream inputStream) |
|
Hash |
ContentAddressableStoreInfinispanImpl.write(InputStream inputStream,
List<ContentEncoding> encodings) |
| Modifier and Type | Method | Description |
|---|---|---|
List<Hash> |
ContentAddressableStore.getHashes() |
Get a list of all hashes in the store.
|
List<Hash> |
ContentAddressableStoreFileImpl.getHashes() |
|
List<Hash> |
ContentAddressableStoreInfinispanImpl.getHashes() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
ContentAddressableStore.contains(Hash hash) |
Check whether content exists in the store with the specified hash
|
boolean |
ContentAddressableStore.contains(Hash hash,
ContentEncoding contentEncoding) |
Check whether content exists in the store with the specified hash with the specified encoding
|
boolean |
ContentAddressableStoreFileImpl.contains(Hash hash) |
|
boolean |
ContentAddressableStoreFileImpl.contains(Hash hash,
ContentEncoding contentEncoding) |
|
boolean |
ContentAddressableStoreInfinispanImpl.contains(Hash hash) |
|
boolean |
ContentAddressableStoreInfinispanImpl.contains(Hash hash,
ContentEncoding contentEncoding) |
|
boolean |
ContentAddressableStore.delete(Hash hash) |
Delete content from the store.
|
boolean |
ContentAddressableStoreFileImpl.delete(Hash hash) |
|
boolean |
ContentAddressableStoreInfinispanImpl.delete(Hash hash) |
|
long |
ContentAddressableStore.getContentLength(Hash hash) |
Get the length of the content with the specified hash
|
long |
ContentAddressableStore.getContentLength(Hash hash,
ContentEncoding contentEncoding) |
Get the length of the encoded content with the specified hash.
|
long |
ContentAddressableStoreFileImpl.getContentLength(Hash hash) |
|
long |
ContentAddressableStoreFileImpl.getContentLength(Hash hash,
ContentEncoding contentEncoding) |
|
long |
ContentAddressableStoreInfinispanImpl.getContentLength(Hash hash) |
|
long |
ContentAddressableStoreInfinispanImpl.getContentLength(Hash hash,
ContentEncoding contentEncoding) |
|
protected void |
ContentAddressableStoreImpl.notifyListenersContentAdded(Hash hash) |
|
protected void |
ContentAddressableStoreImpl.notifyListenersContentRemoved(Hash hash) |
|
InputStream |
ContentAddressableStore.read(Hash hash) |
Read content from the store.
|
InputStream |
ContentAddressableStore.read(Hash hash,
ContentEncoding contentEncoding) |
Read content from the store, returning using the given encoding.
|
InputStream |
ContentAddressableStoreFileImpl.read(Hash hash) |
|
InputStream |
ContentAddressableStoreFileImpl.read(Hash hash,
ContentEncoding contentEncoding) |
|
InputStream |
ContentAddressableStoreInfinispanImpl.read(Hash hash) |
|
InputStream |
ContentAddressableStoreInfinispanImpl.read(Hash hash,
ContentEncoding contentEncoding) |
| Constructor | Description |
|---|---|
ContentAddressableStoreEvent(ContentAddressableStore source,
Hash hash) |
Constructor
|
Copyright © 2018. All rights reserved.