Package com.norconex.commons.lang.io

# Class CachedStreamFactory.MemoryTracker

java.lang.Object
com.norconex.commons.lang.io.CachedStreamFactory.MemoryTracker

Enclosing class:
  `CachedStreamFactory`

public class CachedStreamFactory.MemoryTracker extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MemoryTracker()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasEnoughAvailableMemory(ByteArrayOutputStream memOutputStream, int bytesToAdd)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MemoryTracker

    public MemoryTracker()

- ## Method Details

  - ### hasEnoughAvailableMemory

    public boolean hasEnoughAvailableMemory(ByteArrayOutputStream memOutputStream, int bytesToAdd)