Package net.webpdf.wsclient.openapi
Class SessionTable
- java.lang.Object
-
- net.webpdf.wsclient.openapi.SessionTable
-
public class SessionTable extends Object
General information about the sessions and detailed information about each session.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTIVE_SESSIONSstatic StringJSON_PROPERTY_EXPIRED_SESSIONSstatic StringJSON_PROPERTY_SESSION_COUNTstatic StringJSON_PROPERTY_SESSION_DISK_USAGEstatic StringJSON_PROPERTY_SESSION_FOLDERstatic StringJSON_PROPERTY_SESSION_IDstatic StringJSON_PROPERTY_SESSION_LISTstatic StringJSON_PROPERTY_TIMESTAMPstatic StringJSON_PROPERTY_UNSTABLE_SESSIONS
-
Constructor Summary
Constructors Constructor Description SessionTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionTableactiveSessions(Long activeSessions)SessionTableaddSessionListItem(SessionTableEntry sessionListItem)booleanequals(Object o)SessionTableexpiredSessions(Long expiredSessions)@Nullable LonggetActiveSessions()Total number of active sessions.@Nullable LonggetExpiredSessions()Total number of expired sessions.@Nullable LonggetSessionCount()Total number of sessions.@Nullable LonggetSessionDiskUsage()Total size in bytes required by all sessions together on the hard disk in the base folder.@Nullable StringgetSessionFolder()Base folder for all session data (e.g. files and file history).@Nullable StringgetSessionId()Session ID of the session that requested the session table.@Nullable List<SessionTableEntry>getSessionList()List of all sessions and detailed information about each session.@Nullable LonggetTimestamp()UTC time when the query was executed.@Nullable LonggetUnstableSessions()Total number of sessions that have not yet been initialized or are currently expiring.inthashCode()SessionTablesessionCount(Long sessionCount)SessionTablesessionDiskUsage(Long sessionDiskUsage)SessionTablesessionFolder(String sessionFolder)SessionTablesessionId(String sessionId)SessionTablesessionList(List<SessionTableEntry> sessionList)voidsetActiveSessions(Long activeSessions)voidsetExpiredSessions(Long expiredSessions)voidsetSessionCount(Long sessionCount)voidsetSessionDiskUsage(Long sessionDiskUsage)voidsetSessionFolder(String sessionFolder)voidsetSessionId(String sessionId)voidsetSessionList(List<SessionTableEntry> sessionList)voidsetTimestamp(Long timestamp)voidsetUnstableSessions(Long unstableSessions)SessionTabletimestamp(Long timestamp)StringtoString()SessionTableunstableSessions(Long unstableSessions)
-
-
-
Field Detail
-
JSON_PROPERTY_ACTIVE_SESSIONS
public static final String JSON_PROPERTY_ACTIVE_SESSIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPIRED_SESSIONS
public static final String JSON_PROPERTY_EXPIRED_SESSIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SESSION_COUNT
public static final String JSON_PROPERTY_SESSION_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SESSION_DISK_USAGE
public static final String JSON_PROPERTY_SESSION_DISK_USAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SESSION_FOLDER
public static final String JSON_PROPERTY_SESSION_FOLDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SESSION_ID
public static final String JSON_PROPERTY_SESSION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SESSION_LIST
public static final String JSON_PROPERTY_SESSION_LIST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMESTAMP
public static final String JSON_PROPERTY_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UNSTABLE_SESSIONS
public static final String JSON_PROPERTY_UNSTABLE_SESSIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
activeSessions
public SessionTable activeSessions(Long activeSessions)
-
getActiveSessions
@Nullable public @Nullable Long getActiveSessions()
Total number of active sessions.- Returns:
- activeSessions
-
setActiveSessions
public void setActiveSessions(Long activeSessions)
-
expiredSessions
public SessionTable expiredSessions(Long expiredSessions)
-
getExpiredSessions
@Nullable public @Nullable Long getExpiredSessions()
Total number of expired sessions.- Returns:
- expiredSessions
-
setExpiredSessions
public void setExpiredSessions(Long expiredSessions)
-
sessionCount
public SessionTable sessionCount(Long sessionCount)
-
getSessionCount
@Nullable public @Nullable Long getSessionCount()
Total number of sessions.- Returns:
- sessionCount
-
setSessionCount
public void setSessionCount(Long sessionCount)
-
sessionDiskUsage
public SessionTable sessionDiskUsage(Long sessionDiskUsage)
-
getSessionDiskUsage
@Nullable public @Nullable Long getSessionDiskUsage()
Total size in bytes required by all sessions together on the hard disk in the base folder.- Returns:
- sessionDiskUsage
-
setSessionDiskUsage
public void setSessionDiskUsage(Long sessionDiskUsage)
-
sessionFolder
public SessionTable sessionFolder(String sessionFolder)
-
getSessionFolder
@Nullable public @Nullable String getSessionFolder()
Base folder for all session data (e.g. files and file history).- Returns:
- sessionFolder
-
setSessionFolder
public void setSessionFolder(String sessionFolder)
-
sessionId
public SessionTable sessionId(String sessionId)
-
getSessionId
@Nullable public @Nullable String getSessionId()
Session ID of the session that requested the session table.- Returns:
- sessionId
-
setSessionId
public void setSessionId(String sessionId)
-
sessionList
public SessionTable sessionList(List<SessionTableEntry> sessionList)
-
addSessionListItem
public SessionTable addSessionListItem(SessionTableEntry sessionListItem)
-
getSessionList
@Nullable public @Nullable List<SessionTableEntry> getSessionList()
List of all sessions and detailed information about each session.- Returns:
- sessionList
-
setSessionList
public void setSessionList(List<SessionTableEntry> sessionList)
-
timestamp
public SessionTable timestamp(Long timestamp)
-
getTimestamp
@Nullable public @Nullable Long getTimestamp()
UTC time when the query was executed.- Returns:
- timestamp
-
setTimestamp
public void setTimestamp(Long timestamp)
-
unstableSessions
public SessionTable unstableSessions(Long unstableSessions)
-
getUnstableSessions
@Nullable public @Nullable Long getUnstableSessions()
Total number of sessions that have not yet been initialized or are currently expiring.- Returns:
- unstableSessions
-
setUnstableSessions
public void setUnstableSessions(Long unstableSessions)
-
-