Class FileAppendStreamLRUCache

  extended by net.sf.picard.util.ResourceLimitedMap<File,FileOutputStream>
      extended by net.sf.picard.util.FileAppendStreamLRUCache

public class FileAppendStreamLRUCache
extends ResourceLimitedMap<File,FileOutputStream>

LRU cache of FileOutputStreams to handle situation in which it is necessary to have more FileOuputStreams than resource limits will allow. Least-recently-used FileOutputStream is closed when it is pushed out of the cache. When adding a new element to the cache, the file is opened in append mode.


Constructor Summary
FileAppendStreamLRUCache(int cacheSize)
Method Summary
Methods inherited from class net.sf.picard.util.ResourceLimitedMap
containsKey, finalizeAll, get, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FileAppendStreamLRUCache(int cacheSize)