public class WGDatabase.SessionStatistic
extends java.lang.Object
implements java.lang.Comparable
Constructor and Description |
---|
WGDatabase.SessionStatistic(WGSessionContext context)
Constructor that will extract statistics from a session context.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
java.util.Date |
getCreated()
Returns the creation date of the session
|
java.lang.String |
getTask()
Returns the task that the session did accomplish
|
int |
getTotalDocsRetrieved()
Returns, how many docs the session did retrieve from backend while it
was running
|
boolean |
isMaxDocsExceeded()
Returns if the "maxdocs"-Property of maximum documents per session
was exceeded by this session.
|
public WGDatabase.SessionStatistic(WGSessionContext context)
context
- The session context that is used for information retrievalpublic java.util.Date getCreated()
public boolean isMaxDocsExceeded()
public java.lang.String getTask()
public int getTotalDocsRetrieved()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable