Interface SessionMBean
-
- All Known Implementing Classes:
SessionStats
@ProviderType public interface SessionMBean
MBean providing basicSession
information and statistics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthInfo
getAuthInfo()
String
getInitStackTrace()
String
getLastFailedSave()
String
getLastReadAccess()
String
getLastRefresh()
String
getLastSave()
String
getLastWriteAccess()
String
getLoginTimeStamp()
long
getReadCount()
double
getReadRate()
long
getRefreshCount()
boolean
getRefreshPending()
double
getRefreshRate()
String
getRefreshStrategy()
long
getSaveCount()
double
getSaveRate()
String[]
getSessionAttributes()
long
getWriteCount()
double
getWriteRate()
void
refresh()
Refresh this session.
-
-
-
Field Detail
-
TYPE
static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInitStackTrace
String getInitStackTrace()
- Returns:
- stack trace from where the session was acquired.
-
getAuthInfo
AuthInfo getAuthInfo()
- Returns:
AuthInfo
for the user associated with the session.
-
getLoginTimeStamp
String getLoginTimeStamp()
- Returns:
- time stamp from when the session was acquired.
-
getLastReadAccess
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
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
String getLastRefresh()
- Returns:
- time stamp from the last refresh
-
getRefreshStrategy
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
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
String[] getSessionAttributes()
- Returns:
- attributes associated with the session
-
getLastFailedSave
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
-
-