to.etc.domui.caches.filecache
Class FileCacheSet

java.lang.Object
  extended by to.etc.domui.caches.filecache.FileCacheSet

public class FileCacheSet
extends java.lang.Object

Contains a set of references that you are working on from the file cache. Entries in here are protected from being garbage-collected on the file system.

Author:
Frits Jalvingh Created on Dec 1, 2009

Method Summary
 void close()
          Discard all elements in the set (allows them to be reaped).
 java.io.File getFile(java.lang.String path)
          Get a cache entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFile

public java.io.File getFile(java.lang.String path)
Get a cache entry. If one already exists this just returns the file, the use count is left at 1.

Parameters:
path -
Returns:

close

public void close()
Discard all elements in the set (allows them to be reaped).