All Packages Class Hierarchy This Package Previous Next Index
Class key.ConnectionStatistics
java.lang.Object
|
+----key.Atom
|
+----key.ConnectionStatistics
- public final class ConnectionStatistics
- extends Atom
A statistics class that keeps idle time
-
ConnectionStatistics()
-
-
evalReadOnlyProperty(ReadOnlyProperty)
- override to return the correct value for the supplied property
make sure you call super.evalReadOnlyProperty if you don't
understand it before returning null
-
getIdleTime(DateTime)
-
-
loadFrom(DataInput)
- No implementation - there is nothing to be stored
-
unIdle()
- Unidles the connection to the current time
-
writeTo(DataOutput)
- No implementation - there is nothing to be stored
ConnectionStatistics
public ConnectionStatistics()
evalReadOnlyProperty
public Object evalReadOnlyProperty(ReadOnlyProperty p)
- override to return the correct value for the supplied property
make sure you call super.evalReadOnlyProperty if you don't
understand it before returning null
- Overrides:
- evalReadOnlyProperty in class Atom
unIdle
public void unIdle()
- Unidles the connection to the current time
getIdleTime
public final Duration getIdleTime(DateTime currentTime)
loadFrom
public void loadFrom(DataInput from) throws IOException
- No implementation - there is nothing to be stored
- Overrides:
- loadFrom in class Atom
writeTo
public void writeTo(DataOutput to) throws IOException
- No implementation - there is nothing to be stored
- Overrides:
- writeTo in class Atom
All Packages Class Hierarchy This Package Previous Next Index