Package net.i2p.util

Class ReusableGZIPInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class ReusableGZIPInputStream
    extends ResettableGZIPInputStream
    Provide a cache of reusable GZIP unzipper streams. This provides stream output only, and therefore can handle unlimited size.
    • Method Detail

      • release

        public static void release​(ReusableGZIPInputStream released)
        Release an instance back into the cache (this will reset the state)
      • clearCache

        public static void clearCache()
        Clear the cache.
        Since:
        0.9.21