TrueZIP 6.8.3

de.schlichtherle.util.zip
Class InflaterPool

java.lang.Object
  extended by de.schlichtherle.util.zip.InflaterPool

 class InflaterPool
extends Object

Provides utility methods for pooling Inflaters. Inflater objects are expensive to allocate, so pooling them improves performance.

Author:
Christian Schlichtherle

Field Summary
private static Set allocated
           
private static List released
           
 
Constructor Summary
private InflaterPool()
           
 
Method Summary
(package private) static Inflater fetch()
           
(package private) static void release(Inflater inflater)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allocated

private static final Set allocated

released

private static final List released
Constructor Detail

InflaterPool

private InflaterPool()
Method Detail

fetch

static Inflater fetch()

release

static void release(Inflater inflater)

TrueZIP 6.8.3

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.