public static class IRequestLogger.SessionData extends Object implements IClusterable, Comparable<IRequestLogger.SessionData>
Constructor and Description |
---|
IRequestLogger.SessionData(String sessionId)
Construct.
|
Modifier and Type | Method and Description |
---|---|
void |
addTimeTaken(long time)
Adds
time to the total server time. |
int |
compareTo(IRequestLogger.SessionData sd) |
Date |
getLastActive() |
long |
getNumberOfRequests() |
String |
getSessionId() |
Object |
getSessionInfo() |
long |
getSessionSize() |
Date |
getStartDate() |
long |
getTotalTimeTaken() |
void |
setSessionInfo(Object sessionInfo)
Sets additional session info (e.g.
|
void |
setSessionSize(long size)
Sets the recorded session size.
|
public IRequestLogger.SessionData(String sessionId)
sessionId
- public Date getLastActive()
public Date getStartDate()
public long getNumberOfRequests()
public long getSessionSize()
public long getTotalTimeTaken()
public Object getSessionInfo()
IRequestLogger.ISessionLogInfo.getSessionInfo()
session method.public String getSessionId()
public void addTimeTaken(long time)
time
to the total server time.time
- public void setSessionInfo(Object sessionInfo)
sessionInfo
- public void setSessionSize(long size)
size
- public int compareTo(IRequestLogger.SessionData sd)
compareTo
in interface Comparable<IRequestLogger.SessionData>
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.