Package fr.dyade.aaa.agent
Interface PoolNetworkMBean
-
- All Superinterfaces:
NetworkMBean
- All Known Implementing Classes:
PoolNetwork,SSLNetwork
public interface PoolNetworkMBean extends NetworkMBean
JMX interface of the PoolNetwork component. This interface only reports global indicators of the component, each NetSession has its own JMX interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetCompressedFlows()Returns if the stream between servers are compressed or not.longgetIdleTimeout()Gets the maximum idle period permitted before reseting the connection.intgetNbActiveSession()Gets the number of active session.intgetNbMaxActiveSession()Gets the maximum number of active session.voidsetIdleTimeout(long idleTimeout)Sets the maximum idle period permitted before reseting the connection.-
Methods inherited from interface fr.dyade.aaa.agent.NetworkMBean
getAverageLoad1, getAverageLoad15, getAverageLoad5, getName, getNbMessageReceived, getNbMessageSent, getNbWaitingMessages, getWDActivationPeriod, getWDNbRetryLevel1, getWDNbRetryLevel2, getWDRetryPeriod1, getWDRetryPeriod2, getWDRetryPeriod3, isRunning, setWDActivationPeriod, setWDNbRetryLevel1, setWDNbRetryLevel2, setWDRetryPeriod1, setWDRetryPeriod2, setWDRetryPeriod3, start, stop, toString
-
-
-
-
Method Detail
-
getNbMaxActiveSession
int getNbMaxActiveSession()
Gets the maximum number of active session.- Returns:
- the maximum number of active session.
-
getNbActiveSession
int getNbActiveSession()
Gets the number of active session.- Returns:
- the number of active session.
-
getIdleTimeout
long getIdleTimeout()
Gets the maximum idle period permitted before reseting the connection.- Returns:
- the number of waiting messages.
-
setIdleTimeout
void setIdleTimeout(long idleTimeout)
Sets the maximum idle period permitted before reseting the connection.- Parameters:
idleTimeout- the maximum idle period permitted before reseting the connection.
-
getCompressedFlows
boolean getCompressedFlows()
Returns if the stream between servers are compressed or not.- Returns:
- true if the streams between servers are compressed, false otherwise.
-
-