org.deegree.io.dbaseapi
Class DBaseIndex.Cache.Item
java.lang.Object
org.deegree.io.dbaseapi.DBaseIndex.Cache.Item
- All Implemented Interfaces:
- java.lang.Comparable
- Enclosing class:
- DBaseIndex.Cache
class DBaseIndex.Cache.Item
- extends java.lang.Object
- implements java.lang.Comparable
Inner class for the cache items
Field Summary |
(package private) org.deegree.io.dbaseapi.DBaseIndex.Page |
p
|
(package private) long |
timeStamp
|
Constructor Summary |
DBaseIndex.Cache.Item(org.deegree.io.dbaseapi.DBaseIndex.Page p)
Create a new item with the given page |
Method Summary |
int |
compareTo(java.lang.Object o)
Compare the time stamp from this object to the time stamp of another object |
(package private) void |
use()
Mark the item as used (eg. create a new time stamp) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeStamp
long timeStamp
p
org.deegree.io.dbaseapi.DBaseIndex.Page p
DBaseIndex.Cache.Item
DBaseIndex.Cache.Item(org.deegree.io.dbaseapi.DBaseIndex.Page p)
- Create a new item with the given page
use
void use()
- Mark the item as used (eg. create a new time stamp)
compareTo
public int compareTo(java.lang.Object o)
- Compare the time stamp from this object to the time stamp of another object
- Specified by:
compareTo
in interface java.lang.Comparable
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org