public class JarRepository extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JarRepository.JarContent |
static class |
JarRepository.JarContentRef |
Constructor and Description |
---|
JarRepository(CoreContainer coreContainer) |
Modifier and Type | Method and Description |
---|---|
void |
decrementJarRefCount(JarRepository.JarContentRef ref)
This is to decrement a ref count
|
JarRepository.JarContentRef |
getJarIncRef(String key)
Returns the contents of a jar and increments a reference count.
|
public JarRepository(CoreContainer coreContainer)
public JarRepository.JarContentRef getJarIncRef(String key)
key
- it is a combination of blobname and version like blobName/versionpublic void decrementJarRefCount(JarRepository.JarContentRef 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.