public class InflaterCache extends Object
Modifier and Type | Method and Description |
---|---|
static Inflater |
get()
Obtain an Inflater for decompression.
|
static void |
release(Inflater i)
Release an inflater previously obtained from this cache.
|
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.Copyright © 2019 Eclipse JGit Project. All rights reserved.