org.iges.grads.server
Class GradsTempHandle
java.lang.Object
|
+--org.iges.grads.server.GradsTempHandle
- All Implemented Interfaces:
- java.io.Serializable, TempDataHandle
- public class GradsTempHandle
- extends java.lang.Object
- implements TempDataHandle
Implementation of the TempDataHandle interface for GrADS datasets.
- See Also:
for full documentation of methods.,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dependencies
protected java.util.Set dependencies
info
protected GradsDataInfo info
dataHandles
protected DataHandle[] dataHandles
createTime
protected long createTime
dataFile
protected java.io.File dataFile
GradsTempHandle
public GradsTempHandle(java.lang.String name,
java.lang.String longName,
GradsDataInfo info,
java.io.File dataFile,
java.util.Set dependencies)
throws AnagramException
GradsTempHandle
public GradsTempHandle(java.lang.String name,
GradsDataInfo info,
java.io.File dataFile)
throws AnagramException
getDependencies
public java.util.Set getDependencies()
- Description copied from interface:
TempDataHandle
- A set of data handle names upon which were used to generate this
temporary data. The catalog module uses this to check if a
result is made out-of-date by the modification of another
dataset.
- Specified by:
getDependencies in interface TempDataHandle
getDataHandles
public DataHandle[] getDataHandles()
- Specified by:
getDataHandles in interface TempDataHandle
- Returns:
- Returns handles for accessing the data. Multiple handles
may be returned if the data can be accessed by multiple
names (for instance, via an analysis expression or using
a short name), or if a single operation generated multiple
data objects
getStorageSize
public long getStorageSize()
- Specified by:
getStorageSize in interface TempDataHandle
- Returns:
- The number of bytes of storage being used by this data.
This is dependent on the storage format of the data and
thus does not directly indicate the number of data values
being stored.
getCreateTime
public long getCreateTime()
- Specified by:
getCreateTime in interface TempDataHandle
- Returns:
- The time at which the data was initially stored
deleteStorage
public void deleteStorage()
- Description copied from interface:
TempDataHandle
- Deletes the temporary data.
- Specified by:
deleteStorage in interface TempDataHandle