org.das2.dataset
Class AbstractDataSetCache.Entry

java.lang.Object
  extended by org.das2.dataset.AbstractDataSetCache.Entry
All Implemented Interfaces:
Displayable
Enclosing class:
AbstractDataSetCache

protected class AbstractDataSetCache.Entry
extends java.lang.Object
implements Displayable


Field Summary
protected  long birthTime
           
protected  CacheTag cacheTag
           
protected  DataSet data
           
protected  DataSetDescriptor dsd
           
protected  long lastAccess
           
protected  int nhits
           
 
Method Summary
 CacheTag getCacheTag()
           
protected  DataSet getData()
           
 javax.swing.Icon getListIcon()
          An icon can be provided that will be shown in a list along with the textual description of the element.
 java.lang.String getListLabel()
          return a String that will help the user identify this item when choosing from a list.
protected  boolean satifies(AbstractDataSetCache.Entry entry)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dsd

protected DataSetDescriptor dsd

cacheTag

protected CacheTag cacheTag

data

protected DataSet data

nhits

protected int nhits

birthTime

protected long birthTime

lastAccess

protected long lastAccess
Method Detail

getData

protected DataSet getData()

satifies

protected boolean satifies(AbstractDataSetCache.Entry entry)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getListIcon

public javax.swing.Icon getListIcon()
Description copied from interface: Displayable
An icon can be provided that will be shown in a list along with the textual description of the element. This method should return null if there is no icon available.

Specified by:
getListIcon in interface Displayable

getListLabel

public java.lang.String getListLabel()
Description copied from interface: Displayable
return a String that will help the user identify this item when choosing from a list.

Specified by:
getListLabel in interface Displayable

getCacheTag

public CacheTag getCacheTag()