|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionManagerMXBean
Administration for the SessionManager for a WebApp. The JMX name looks like:
resin:type=SessionManager,WebApp=/wiki,Host=caucho.com
Method Summary | |
---|---|
java.lang.String |
getCookieDomain()
The host domain used for session cookies |
long |
getCookieLength()
The length of the generated cookie |
long |
getCookieMaxAge()
The session cookie max-age sent to the browser. |
java.lang.String |
getCookieName()
The cookie name used for sessions. |
java.lang.String |
getCookiePort()
The session cookie port sent to the client browser. |
int |
getCookieVersion()
The cookie version sent to the browser. |
long |
getEstimatedMemorySize()
|
PersistentStoreMXBean |
getPersistentStore()
Returns the persistent store. |
java.lang.String |
getSaveMode()
Returns the session save-mode. |
long |
getSessionActiveCount()
Returns the count of active sessions. |
long |
getSessionCreateCountTotal()
Returns the count of sessions created |
long |
getSessionInvalidateCountTotal()
Returns the count of sessions invalidated |
int |
getSessionMax()
The maximum number of sessions in memory. |
long |
getSessionTimeout()
The maximum time an idle session will be saved. |
long |
getSessionTimeoutCountTotal()
Returns the count of sessions timeout |
WebAppMXBean |
getWebApp()
Returns the owning WebApp. |
boolean |
isAlwaysSaveSession()
True if the session should be serialized for storage, even if no attributes in the session have been set. |
boolean |
isCookieAppendServerIndex()
If true, the server's cluster index is appended to the cookie value. |
boolean |
isCookieHttpOnly()
True if the cookie should only be used for http, not https requests. |
boolean |
isCookieSecure()
True if the session cookie should only be sent on a secure connection. |
boolean |
isEnableCookies()
True if the server reads and writes cookies |
boolean |
isEnableURLRewriting()
(discouraged). |
boolean |
isIgnoreSerializationErrors()
True if persistent sessions should ignore serialization errors. |
boolean |
isInvalidateAfterListener()
True if the session should be invalidated only after listeners are called. |
boolean |
isReuseSessionId()
True if session-id should be reused if no session exists. |
java.lang.String |
sessionAsJsonString(java.lang.String id)
|
java.lang.String[] |
sessionIdList()
|
java.lang.String |
sessionsAsJsonString()
|
java.lang.String |
sessionSerializationDebug(java.lang.String id)
Returns the debug string for a session |
int |
stickySessionServer(java.lang.String sessionId,
int n)
|
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean |
---|
getName, getObjectName, getType |
Method Detail |
---|
WebAppMXBean getWebApp()
PersistentStoreMXBean getPersistentStore()
boolean isAlwaysSaveSession()
boolean isCookieAppendServerIndex()
java.lang.String getCookieDomain()
boolean isCookieHttpOnly()
long getCookieLength()
@Units(value="milliseconds") long getCookieMaxAge()
java.lang.String getCookieName()
java.lang.String getCookiePort()
boolean isCookieSecure()
int getCookieVersion()
boolean isEnableCookies()
boolean isEnableURLRewriting()
boolean isIgnoreSerializationErrors()
boolean isInvalidateAfterListener()
boolean isReuseSessionId()
java.lang.String getSaveMode()
int getSessionMax()
@Units(value="milliseconds") long getSessionTimeout()
long getSessionActiveCount()
long getSessionCreateCountTotal()
long getSessionInvalidateCountTotal()
long getSessionTimeoutCountTotal()
java.lang.String sessionSerializationDebug(java.lang.String id)
java.lang.String sessionAsJsonString(java.lang.String id)
java.lang.String[] sessionIdList()
java.lang.String sessionsAsJsonString()
long getEstimatedMemorySize()
int stickySessionServer(java.lang.String sessionId, int n)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |