public interface FileCacheable
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the FileCacheable, release all resources.
|
long |
getLastModified()
Get last modified date of underlying file(s).
|
String |
getLocation()
The location of the FileCacheable.
|
void |
reacquire() |
void |
release() |
void |
setFileCache(FileCacheIF fileCache)
If the FileCache is not null, FileCacheable.close() must call FileCache.release()
|
String getLocation()
void close() throws IOException
IOException
- on io errorlong getLastModified()
void setFileCache(FileCacheIF fileCache)
public synchronized void close() throws java.io.IOException { if (cache != null) { if (cache.release(this)) return; } reallyClose(); }
fileCache
- must store this, use it on close as above.void release() throws IOException
IOException
void reacquire() throws IOException
IOException
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.