| java.lang.Object org.geotools.coverage.CoverageCache
CoverageCache | public class CoverageCache (Code) | | A cache for
instances. Call to
CoverageCache.reference method returns a
or
reference to the specified coverage. If such a reference previously existed, it is
returned. Otherwise a new reference is created.
version: $Id: CoverageCache.java 20970 2006-08-11 07:53:22Z jgarnett $ author: Martin Desruisseaux since: 2.1 |
Constructor Summary | |
public | CoverageCache() Creates a new coverage cache. |
Method Summary | |
protected void | finalize() Cleanup this coverage cache on garbage collection. | public Reference | reference(Coverage coverage) Returns a reference to the specified coverage. |
CoverageCache | public CoverageCache()(Code) | | Creates a new coverage cache.
|
finalize | protected void finalize() throws Throwable(Code) | | Cleanup this coverage cache on garbage collection.
|
reference | public Reference reference(Coverage coverage)(Code) | | Returns a reference to the specified coverage. If
or
reference already exists for the specified coverage,
then this reference is returned. Otherwise, a
is created and returned.
Parameters: coverage - The coverage to reference. A weak of a soft reference to the specified coverage. |
|
|