public class BlobRepository extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BlobRepository.BlobContent<T> |
static class |
BlobRepository.BlobContentRef<T> |
static interface |
BlobRepository.Decoder<T> |
Constructor and Description |
---|
BlobRepository(CoreContainer coreContainer) |
Modifier and Type | Method and Description |
---|---|
void |
decrementBlobRefCount(BlobRepository.BlobContentRef ref)
This is to decrement a ref count
|
BlobRepository.BlobContentRef<ByteBuffer> |
getBlobIncRef(String key)
Returns the contents of a blob containing a ByteBuffer and increments a reference count.
|
public BlobRepository(CoreContainer coreContainer)
public BlobRepository.BlobContentRef<ByteBuffer> getBlobIncRef(String key)
SolrCore#loadDecodeAndCacheBlob(String, Decoder)
key
- it is a combination of blobname and version like blobName/versionpublic void decrementBlobRefCount(BlobRepository.BlobContentRef ref)
ref
- The reference that is already there. Doing multiple calls with same ref will not matterCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.