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

Field Summary
 String sql
           
 long time
           
 
Constructor Summary
PreparedStatementCache.OrderedStringMapping()
           
 
Method Summary
 Object clone()
           
 int compareTo(Object o)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sql

public String sql

time

public long time
Constructor Detail

PreparedStatementCache.OrderedStringMapping

public PreparedStatementCache.OrderedStringMapping()
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

clone

public Object clone()
Overrides:
clone in class Object