planetj.dataengine.cache
Class PreparedStatementCache.OrderedStringMapping
java.lang.Object
|
+--planetj.dataengine.cache.PreparedStatementCache.OrderedStringMapping
- All Implemented Interfaces:
- Cloneable, Comparable, Serializable
- Enclosing class:
- PreparedStatementCache
- public static final class PreparedStatementCache.OrderedStringMapping
- extends Object
- implements Comparable, Cloneable, Serializable
Contains a SQL String from which a PreparedStatement was prepared, and the last time
that PreparedStatement was accessed. These objects are stored in the mOrderedStrings
List, ordered by the time field.
- See Also:
- Serialized Form
sql
public String sql
time
public long time
PreparedStatementCache.OrderedStringMapping
public PreparedStatementCache.OrderedStringMapping()
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
clone
public Object clone()
- Overrides:
clone
in class Object