|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.lib.InflaterCache
public class InflaterCache
Creates zlib based inflaters as necessary for object decompression.
| Method Summary | |
|---|---|
static Inflater |
get()
Obtain an Inflater for decompression. |
static void |
release(Inflater i)
Release an inflater previously obtained from this cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Inflater get()
Inflaters obtained through this cache should be returned (if possible) by
release(Inflater) to avoid garbage collection and reallocation.
public static void release(Inflater i)
i - the inflater to return. May be null, in which case this method
does nothing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||