public class BlobRepository extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BlobRepository.BlobContent |
static class |
BlobRepository.BlobContentRef |
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 |
getBlobIncRef(String key)
Returns the contents of a jar and increments a reference count.
|
static ByteBuffer |
getFileContent(BlobRepository.BlobContent blobContent,
String entryName) |
public BlobRepository(CoreContainer coreContainer)
public static ByteBuffer getFileContent(BlobRepository.BlobContent blobContent, String entryName) throws IOException
IOException
public BlobRepository.BlobContentRef getBlobIncRef(String key)
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-2016 Apache Software Foundation. All Rights Reserved.