com.go.trove.util
Class DeflaterPool

java.lang.Object
  |
  +--com.go.trove.util.DeflaterPool

public class DeflaterPool
extends java.lang.Object

Since Deflaters can be expensive to allocate, re-use them with this pool.

Version:
3 , 01/06/14
Author:
Brian S O'Neill

Constructor Summary
DeflaterPool()
           
 
Method Summary
static void clear()
           
static Deflater get()
           
static Deflater get(int level)
           
static Deflater get(int level, boolean nowrap)
           
static void put(Deflater d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeflaterPool

public DeflaterPool()
Method Detail

clear

public static void clear()

get

public static Deflater get(int level,
                           boolean nowrap)

get

public static Deflater get(int level)

get

public static Deflater get()

put

public static void put(Deflater d)