org.jboss.web.tomcat.service.session
Interface JBossCacheSipManagerMBean

All Superinterfaces:
org.jboss.web.tomcat.service.session.JBossCacheManagerMBean, org.jboss.web.tomcat.service.session.JBossManagerMBean
All Known Implementing Classes:
JBossCacheSipManager

public interface JBossCacheSipManagerMBean
extends org.jboss.web.tomcat.service.session.JBossCacheManagerMBean

Author:
jean.deruelle@gmail.com

Method Summary
 int getActiveSipApplicationSessions()
          Returns the number of active sessions
 int getActiveSipSessions()
          Returns the number of active sessions
 int getExpiredSipApplicationSessions()
          Gets the number of sessions that have expired.
 int getExpiredSipSessions()
          Gets the number of sessions that have expired.
 int getMaxActiveSipApplicationSessions()
          Return the maximum number of active Sessions allowed, or -1 for no limit.
 int getMaxActiveSipSessions()
          Return the maximum number of active Sessions allowed, or -1 for no limit.
 int getRejectedSipApplicationSessions()
          Number of sip session creations that failed due to maxActiveSipSessions
 int getRejectedSipSessions()
          Number of sip session creations that failed due to maxActiveSipSessions
 int getSipApplicationSessionAverageAliveTime()
          Gets the average time (in seconds) that expired sessions had been alive.
 int getSipApplicationSessionCounter()
          Total sessions created by this manager.
 int getSipApplicationSessionMaxAliveTime()
          Gets the longest time (in seconds) that an expired session had been alive.
 int getSipSessionAverageAliveTime()
          Gets the average time (in seconds) that expired sessions had been alive.
 int getSipSessionCounter()
          Total sessions created by this manager.
 int getSipSessionMaxAliveTime()
          Gets the longest time (in seconds) that an expired session had been alive.
 void setExpiredSipApplicationSessions(int expiredSipApplicationSessions)
          Sets the number of sessions that have expired.
 void setExpiredSipSessions(int expiredSipSessions)
          Sets the number of sessions that have expired.
 void setMaxActiveSipApplicationSessions(int max)
          Set the maximum number of actives Sip Application Sessions allowed, or -1 for no limit.
 void setMaxActiveSipSessions(int max)
          Set the maximum number of actives Sip Sessions allowed, or -1 for no limit.
 void setRejectedSipApplicationSessions(int rejectedSipApplicationSessions)
           
 void setRejectedSipSessions(int rejectedSipSessions)
           
 void setSipApplicationSessionAverageAliveTime(int sipApplicationSessionAverageAliveTime)
          Sets the average time (in seconds) that expired sessions had been alive.
 void setSipApplicationSessionCounter(int sipApplicationSessionCounter)
           
 void setSipApplicationSessionMaxAliveTime(int sipApplicationSessionMaxAliveTime)
          Sets the longest time (in seconds) that an expired session had been alive.
 void setSipSessionAverageAliveTime(int sipSessionAverageAliveTime)
          Sets the average time (in seconds) that expired sessions had been alive.
 void setSipSessionCounter(int sipSessionCounter)
           
 void setSipSessionMaxAliveTime(int sipSessionMaxAliveTime)
          Sets the longest time (in seconds) that an expired session had been alive.
 
Methods inherited from interface org.jboss.web.tomcat.service.session.JBossCacheManagerMBean
expireSession, getCacheObjectNameString, getLastAccessedTime, getMaxUnreplicatedInterval, getReplicationGranularityString, getReplicationTriggerString, getSessionAttribute, getSessionAttributeString, getSnapshotInterval, getSnapshotMode, getUseJK, isReplicationFieldBatchMode, listLocalSessionIds, listSessionIds, setMaxUnreplicatedInterval
 
Methods inherited from interface org.jboss.web.tomcat.service.session.JBossManagerMBean
getActiveSessionCount, getCreatedSessionCount, getDistributable, getExpiredSessionCount, getMaxActiveAllowed, getMaxActiveSessionCount, getMaxInactiveInterval, getProcessingTime, getRejectedSessionCount, getReplicationStatistics, getSessionIdLength, reportReplicationStatistics, reportReplicationStatisticsCSV, reportReplicationStatisticsCSV, resetStats, setMaxActiveAllowed, setMaxInactiveInterval, timeInSecondsSinceLastReset
 

Method Detail

getMaxActiveSipSessions

int getMaxActiveSipSessions()
Return the maximum number of active Sessions allowed, or -1 for no limit.


setMaxActiveSipSessions

void setMaxActiveSipSessions(int max)
Set the maximum number of actives Sip Sessions allowed, or -1 for no limit.

Parameters:
max - The new maximum number of sip sessions

getMaxActiveSipApplicationSessions

int getMaxActiveSipApplicationSessions()
Return the maximum number of active Sessions allowed, or -1 for no limit.


setMaxActiveSipApplicationSessions

void setMaxActiveSipApplicationSessions(int max)
Set the maximum number of actives Sip Application Sessions allowed, or -1 for no limit.

Parameters:
max - The new maximum number of sip application sessions

getRejectedSipSessions

int getRejectedSipSessions()
Number of sip session creations that failed due to maxActiveSipSessions

Returns:
The count

setRejectedSipSessions

void setRejectedSipSessions(int rejectedSipSessions)

getRejectedSipApplicationSessions

int getRejectedSipApplicationSessions()
Number of sip session creations that failed due to maxActiveSipSessions

Returns:
The count

setRejectedSipApplicationSessions

void setRejectedSipApplicationSessions(int rejectedSipApplicationSessions)

setSipSessionCounter

void setSipSessionCounter(int sipSessionCounter)

getSipSessionCounter

int getSipSessionCounter()
Total sessions created by this manager.

Returns:
sessions created

getActiveSipSessions

int getActiveSipSessions()
Returns the number of active sessions

Returns:
number of sessions active

getSipSessionMaxAliveTime

int getSipSessionMaxAliveTime()
Gets the longest time (in seconds) that an expired session had been alive.

Returns:
Longest time (in seconds) that an expired session had been alive.

setSipSessionMaxAliveTime

void setSipSessionMaxAliveTime(int sipSessionMaxAliveTime)
Sets the longest time (in seconds) that an expired session had been alive.

Parameters:
sessionMaxAliveTime - Longest time (in seconds) that an expired session had been alive.

getSipSessionAverageAliveTime

int getSipSessionAverageAliveTime()
Gets the average time (in seconds) that expired sessions had been alive.

Returns:
Average time (in seconds) that expired sessions had been alive.

setSipSessionAverageAliveTime

void setSipSessionAverageAliveTime(int sipSessionAverageAliveTime)
Sets the average time (in seconds) that expired sessions had been alive.

Parameters:
sessionAverageAliveTime - Average time (in seconds) that expired sessions had been alive.

setSipApplicationSessionCounter

void setSipApplicationSessionCounter(int sipApplicationSessionCounter)

getSipApplicationSessionCounter

int getSipApplicationSessionCounter()
Total sessions created by this manager.

Returns:
sessions created

getActiveSipApplicationSessions

int getActiveSipApplicationSessions()
Returns the number of active sessions

Returns:
number of sessions active

getSipApplicationSessionMaxAliveTime

int getSipApplicationSessionMaxAliveTime()
Gets the longest time (in seconds) that an expired session had been alive.

Returns:
Longest time (in seconds) that an expired session had been alive.

setSipApplicationSessionMaxAliveTime

void setSipApplicationSessionMaxAliveTime(int sipApplicationSessionMaxAliveTime)
Sets the longest time (in seconds) that an expired session had been alive.

Parameters:
sessionMaxAliveTime - Longest time (in seconds) that an expired session had been alive.

getSipApplicationSessionAverageAliveTime

int getSipApplicationSessionAverageAliveTime()
Gets the average time (in seconds) that expired sessions had been alive.

Returns:
Average time (in seconds) that expired sessions had been alive.

setSipApplicationSessionAverageAliveTime

void setSipApplicationSessionAverageAliveTime(int sipApplicationSessionAverageAliveTime)
Sets the average time (in seconds) that expired sessions had been alive.

Parameters:
sessionAverageAliveTime - Average time (in seconds) that expired sessions had been alive.

getExpiredSipSessions

int getExpiredSipSessions()
Gets the number of sessions that have expired.

Returns:
Number of sessions that have expired

setExpiredSipSessions

void setExpiredSipSessions(int expiredSipSessions)
Sets the number of sessions that have expired.

Parameters:
expiredSessions - Number of sessions that have expired

getExpiredSipApplicationSessions

int getExpiredSipApplicationSessions()
Gets the number of sessions that have expired.

Returns:
Number of sessions that have expired

setExpiredSipApplicationSessions

void setExpiredSipApplicationSessions(int expiredSipApplicationSessions)
Sets the number of sessions that have expired.

Parameters:
expiredSessions - Number of sessions that have expired


Copyright © 2010. All Rights Reserved.