public interface SharedDistributionPackage extends DistributionPackage
DistributionPackage that offers basic reference counting.
That's useful for example when using a package in multiple queues.| Modifier and Type | Method and Description |
|---|---|
void |
acquire(String... holderNames)
acquire a reference to this package and increase the reference count.
|
void |
release(String... holderNames)
release a reference to this package and decrease the reference count.
|
close, createInputStream, delete, getId, getInfo, getSize, getTypeCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.