| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | InflaterPool(int
maximum number of Inflaters which can be contained in the pool capacity, boolean if true then use GZIP compatible compression for all new Inflater objects nowrap)Create a Pool of |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public static InflaterPool | |
| protected Inflater | |
| protected void | reset(Inflater inflater)
Implements abstract org. |
| nowrap | back to summary |
|---|---|
| private final boolean nowrap | |
| InflaterPool | back to summary |
|---|---|
| public InflaterPool(int capacity, boolean nowrap) Create a Pool of If given a capacity equal to zero the Inflaters will not be pooled and will be created on acquire and ended on release. If given a negative capacity equal to zero there will be no size restrictions on the InflaterPool
| |
| end | back to summary |
|---|---|
| protected void end(Inflater inflater) Implements abstract org.
| |
| ensurePool | back to summary |
|---|---|
| public static InflaterPool ensurePool(Container container) | |
| newPooled | back to summary |
|---|---|
| protected Inflater newPooled() Implements abstract org.
| |
| reset | back to summary |
|---|---|
| protected void reset(Inflater inflater) Implements abstract org.
| |