Interface SessionMBean
-
@ProviderType public interface SessionMBean
MBean providing basicSession
information and statistics.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthInfo
getAuthInfo()
java.lang.String
getInitStackTrace()
java.lang.String
getLastFailedSave()
java.lang.String
getLastReadAccess()
java.lang.String
getLastRefresh()
java.lang.String
getLastSave()
java.lang.String
getLastWriteAccess()
java.lang.String
getLoginTimeStamp()
long
getReadCount()
double
getReadRate()
long
getRefreshCount()
boolean
getRefreshPending()
double
getRefreshRate()
java.lang.String
getRefreshStrategy()
long
getSaveCount()
double
getSaveRate()
java.lang.String[]
getSessionAttributes()
long
getWriteCount()
double
getWriteRate()
void
refresh()
Refresh this session.
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInitStackTrace
java.lang.String getInitStackTrace()
- Returns:
- stack trace from where the session was acquired.
-
getAuthInfo
AuthInfo getAuthInfo()
- Returns:
AuthInfo
for the user associated with the session.
-
getLoginTimeStamp
java.lang.String getLoginTimeStamp()
- Returns:
- time stamp from when the session was acquired.
-
getLastReadAccess
java.lang.String getLastReadAccess()
- Returns:
- time stamp from the last read access
-
getReadCount
long getReadCount()
- Returns:
- number of read accesses
-
getReadRate
double getReadRate()
- Returns:
- read operations per time
-
getLastWriteAccess
java.lang.String getLastWriteAccess()
- Returns:
- time stamp from the last write access
-
getWriteCount
long getWriteCount()
- Returns:
- number of write accesses
-
getWriteRate
double getWriteRate()
- Returns:
- write operations per time
-
getLastRefresh
java.lang.String getLastRefresh()
- Returns:
- time stamp from the last refresh
-
getRefreshStrategy
java.lang.String getRefreshStrategy()
- Returns:
- description of the refresh strategy
-
getRefreshPending
boolean getRefreshPending()
- Returns:
true
iff the session will be refreshed on next access.
-
getRefreshCount
long getRefreshCount()
- Returns:
- number of refresh operations
-
getRefreshRate
double getRefreshRate()
- Returns:
- refresh operations per time
-
getLastSave
java.lang.String getLastSave()
- Returns:
- time stamp from the last save
-
getSaveCount
long getSaveCount()
- Returns:
- number of save operations
-
getSaveRate
double getSaveRate()
- Returns:
- save operations per time
-
getSessionAttributes
java.lang.String[] getSessionAttributes()
- Returns:
- attributes associated with the session
-
getLastFailedSave
java.lang.String getLastFailedSave()
- Returns:
- stack trace of the last exception that occurred during a save operation
-
refresh
void refresh()
Refresh this session. Warning: this operation might be disruptive to the owner of this session
-
-