|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.management.monitoring.JMXProxy org.objectweb.jonas.management.monitoring.ServerProxy
Implement proxy MBean representing servers in the domain on the master side. Implement state transition diagram.
Field Summary |
Fields inherited from class org.objectweb.jonas.management.monitoring.JMXProxy |
connection, connector, env, FAILED, INITIAL, jmx, logger, name, objectName, RUNNING, serverOn, STARTING, state, STOPPED, STOPPING, UNKNOWN, UNREACHABLE |
Constructor Summary | |
ServerProxy(DomainMonitor dm,
java.lang.String serverName)
Constructor used when a server is discovered |
|
ServerProxy(DomainMonitor dm,
java.lang.String serverName,
java.util.Collection urls,
ClusterDaemonProxy cdp)
Constructor used for a new domain.xml entry |
Methods inherited from class org.objectweb.jonas.management.monitoring.JMXProxy |
checkConnection, connect, disconnect, getAttribute, getAttributes, getConnection, getConnectionUrl, getDomain, getName, getObjectName, getServerState, getState, getUrls, isRegistered, queryNames, setObjectName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jonas.management.monitoring.ServerProxyMBean |
getConnectionUrl, getObjectName, getState |
Constructor Detail |
public ServerProxy(DomainMonitor dm, java.lang.String serverName)
serverName
- the name of the managed serverpublic ServerProxy(DomainMonitor dm, java.lang.String serverName, java.util.Collection urls, ClusterDaemonProxy cdp)
serverName
- the name of the managed serverurls
- Collection of urls to connect to the servercdp
- possible clusterdaemonMethod Detail |
public void notifyStarting(java.util.Collection urls)
urls
- for connectionpublic void notifyStopping()
public void checkit(boolean readall)
readall
- read all monitoring info if server RUNNINGpublic java.lang.String getJ2eeObjectName()
public java.lang.String getServerName()
public javax.management.ObjectName getServerOn()
public void setServerOn(javax.management.ObjectName serverOn)
public java.lang.String getClusterDaemonName()
getClusterDaemonName
in interface ServerProxyMBean
public void startit()
startit
in interface ServerProxyMBean
public void stopit()
stopit
in interface ServerProxyMBean
public java.lang.String deployModule(java.lang.String fileName)
deployModule
in interface ServerProxyMBean
fileName
- Name of the file containing module (or app) to deploy
public java.lang.String undeployModule(java.lang.String fileName)
undeployModule
in interface ServerProxyMBean
fileName
- Name of the file containing module (or app) to undeploy
public void uploadFile(java.lang.String fileName, boolean replaceExisting)
uploadFile
in interface ServerProxyMBean
fileName
- file to upload. One among .war,.jar,.ear,.rarreplaceExisting
-
java.io.IOException
public void uploadDeployModule(java.lang.String fileName, boolean replaceExisting)
uploadDeployModule
in interface ServerProxyMBean
fileName
- file to upload. One among .war,.jar,.ear,.rarreplaceExisting
-
java.io.IOException
public void getMonitoringInfo()
public int getMaxcheck()
getMaxcheck
in interface ServerProxyMBean
public void setMaxcheck(int maxcheck)
setMaxcheck
in interface ServerProxyMBean
maxcheck
- value for maximum number of retries when detecting a broken connectionpublic int getAllThreadsCount()
getAllThreadsCount
in interface ServerProxyMBean
public int getBusyMaxJCAConnection()
getBusyMaxJCAConnection
in interface ServerProxyMBean
public int getBusyMinJCAConnection()
getBusyMinJCAConnection
in interface ServerProxyMBean
public long getBytesReceivedByConnectorTomcat()
getBytesReceivedByConnectorTomcat
in interface ServerProxyMBean
public long getBytesSentByConnectorTomcat()
getBytesSentByConnectorTomcat
in interface ServerProxyMBean
public int getConnectionFailuresJCAConnection()
getConnectionFailuresJCAConnection
in interface ServerProxyMBean
public int getConnectionLeaksJCAConnection()
getConnectionLeaksJCAConnection
in interface ServerProxyMBean
public int getCurrentBusyJCAConnection()
getCurrentBusyJCAConnection
in interface ServerProxyMBean
public int getCurrentInTxJCAConnection()
getCurrentInTxJCAConnection
in interface ServerProxyMBean
public int getCurrentNumberOfBMP()
getCurrentNumberOfBMP
in interface ServerProxyMBean
public int getCurrentNumberOfCMP()
getCurrentNumberOfCMP
in interface ServerProxyMBean
public int getCurrentNumberOfEBInMemory()
getCurrentNumberOfEBInMemory
in interface ServerProxyMBean
public int getCurrentNumberOfEJB()
getCurrentNumberOfEJB
in interface ServerProxyMBean
public int getCurrentNumberOfMDB()
getCurrentNumberOfMDB
in interface ServerProxyMBean
public int getCurrentNumberOfSBF()
getCurrentNumberOfSBF
in interface ServerProxyMBean
public int getCurrentNumberOfSBFInMemory()
getCurrentNumberOfSBFInMemory
in interface ServerProxyMBean
public int getCurrentNumberOfSBL()
getCurrentNumberOfSBL
in interface ServerProxyMBean
public int getCurrentNumberOfSBLInMemory()
getCurrentNumberOfSBLInMemory
in interface ServerProxyMBean
public int getCurrentOpenedJCAConnection()
getCurrentOpenedJCAConnection
in interface ServerProxyMBean
public int getCurrentThreadBusyByConnectorTomcat()
getCurrentThreadBusyByConnectorTomcat
in interface ServerProxyMBean
public int getCurrentThreadCountByConnectorTomcat()
getCurrentThreadCountByConnectorTomcat
in interface ServerProxyMBean
public java.lang.Long getCurrentTotalMemory()
getCurrentTotalMemory
in interface ServerProxyMBean
public java.lang.Long getCurrentUsedMemory()
getCurrentUsedMemory
in interface ServerProxyMBean
public int getCurrentWaitersJCAConnection()
getCurrentWaitersJCAConnection
in interface ServerProxyMBean
public int getCurrentWorkerPoolSize()
getCurrentWorkerPoolSize
in interface ServerProxyMBean
public int getErrorCountByConnectorTomcat()
getErrorCountByConnectorTomcat
in interface ServerProxyMBean
public java.lang.String getHostName()
getHostName
in interface ServerProxyMBean
public int getInitPoolSizeJCAConnection()
getInitPoolSizeJCAConnection
in interface ServerProxyMBean
public java.lang.String getJavaVendor()
getJavaVendor
in interface ServerProxyMBean
public java.lang.String getJavaVersion()
getJavaVersion
in interface ServerProxyMBean
public int getJmsQueuesNbMsgsDeliverSinceCreation()
getJmsQueuesNbMsgsDeliverSinceCreation
in interface ServerProxyMBean
public int getJmsQueuesNbMsgsReceiveSinceCreation()
getJmsQueuesNbMsgsReceiveSinceCreation
in interface ServerProxyMBean
public int getJmsQueuesNbMsgsSendToDMQSinceCreation()
getJmsQueuesNbMsgsSendToDMQSinceCreation
in interface ServerProxyMBean
public int getJmsTopicsNbMsgsDeliverSinceCreation()
getJmsTopicsNbMsgsDeliverSinceCreation
in interface ServerProxyMBean
public int getJmsTopicsNbMsgsReceiveSinceCreation()
getJmsTopicsNbMsgsReceiveSinceCreation
in interface ServerProxyMBean
public int getJmsTopicsNbMsgsSendToDMQSinceCreation()
getJmsTopicsNbMsgsSendToDMQSinceCreation
in interface ServerProxyMBean
public java.lang.String getJOnASVersion()
getJOnASVersion
in interface ServerProxyMBean
public java.lang.String getLoadCPU()
getLoadCPU
in interface ServerProxyMBean
public int getMaxNumberOfEBInMemory()
getMaxNumberOfEBInMemory
in interface ServerProxyMBean
public int getMaxNumberOfSBFInMemory()
getMaxNumberOfSBFInMemory
in interface ServerProxyMBean
public int getMaxNumberOfSBLInMemory()
getMaxNumberOfSBLInMemory
in interface ServerProxyMBean
public int getMaxThreadsByConnectorTomcat()
getMaxThreadsByConnectorTomcat
in interface ServerProxyMBean
public int getMaxWorkerPoolSize()
getMaxWorkerPoolSize
in interface ServerProxyMBean
public javax.management.MBeanServer getMbeanServer()
getMbeanServer
in interface ServerProxyMBean
public int getMinPoolSizeEB()
getMinPoolSizeEB
in interface ServerProxyMBean
public int getMinPoolSizeSBF()
getMinPoolSizeSBF
in interface ServerProxyMBean
public int getMinPoolSizeSBL()
getMinPoolSizeSBL
in interface ServerProxyMBean
public int getMinWorkerPoolSize()
getMinWorkerPoolSize
in interface ServerProxyMBean
public int getPhysicalConnectionOpenedCountJCAConnection()
getPhysicalConnectionOpenedCountJCAConnection
in interface ServerProxyMBean
public int getPoolMaxOpentimeJCAConnection()
getPoolMaxOpentimeJCAConnection
in interface ServerProxyMBean
public int getPoolMaxSizeJCAConnection()
getPoolMaxSizeJCAConnection
in interface ServerProxyMBean
public int getPoolMaxWaitersJCAConnection()
getPoolMaxWaitersJCAConnection
in interface ServerProxyMBean
public int getPoolMaxWaitTimeJCAConnection()
getPoolMaxWaitTimeJCAConnection
in interface ServerProxyMBean
public int getPoolMinSizeJCAConnection()
getPoolMinSizeJCAConnection
in interface ServerProxyMBean
public int getPoolSizeEB()
getPoolSizeEB
in interface ServerProxyMBean
public int getPoolSizeSBF()
getPoolSizeSBF
in interface ServerProxyMBean
public int getPoolSizeSBL()
getPoolSizeSBL
in interface ServerProxyMBean
public long getProcessingTimeByConnectorTomcat()
getProcessingTimeByConnectorTomcat
in interface ServerProxyMBean
public java.lang.String getProtocols()
getProtocols
in interface ServerProxyMBean
public int getPstmtMaxJCAConnection()
getPstmtMaxJCAConnection
in interface ServerProxyMBean
public int getRejectedFullJCAConnection()
getRejectedFullJCAConnection
in interface ServerProxyMBean
public int getRejectedOpenJCAConnection()
getRejectedOpenJCAConnection
in interface ServerProxyMBean
public int getRejectedOtherJCAConnection()
getRejectedOtherJCAConnection
in interface ServerProxyMBean
public int getRejectedTimeoutJCAConnection()
getRejectedTimeoutJCAConnection
in interface ServerProxyMBean
public int getRequestCountByConnectorTomcat()
getRequestCountByConnectorTomcat
in interface ServerProxyMBean
public int getTotalBegunTransactions()
getTotalBegunTransactions
in interface ServerProxyMBean
public int getTotalCommittedTransactions()
getTotalCommittedTransactions
in interface ServerProxyMBean
public int getTotalCurrentTransactions()
getTotalCurrentTransactions
in interface ServerProxyMBean
public int getTotalExpiredTransactions()
getTotalExpiredTransactions
in interface ServerProxyMBean
public int getTotalRolledbackTransactions()
getTotalRolledbackTransactions
in interface ServerProxyMBean
public int getWaiterCountJCAConnection()
getWaiterCountJCAConnection
in interface ServerProxyMBean
public int getWaitersHighJCAConnection()
getWaitersHighJCAConnection
in interface ServerProxyMBean
public int getWaitersHighRecentJCAConnection()
getWaitersHighRecentJCAConnection
in interface ServerProxyMBean
public int getWaitingHighJCAConnection()
getWaitingHighJCAConnection
in interface ServerProxyMBean
public int getWaitingHighRecentJCAConnection()
getWaitingHighRecentJCAConnection
in interface ServerProxyMBean
public int getWaitingTimeJCAConnection()
getWaitingTimeJCAConnection
in interface ServerProxyMBean
public int getXaServedOpenJCAConnection()
getXaServedOpenJCAConnection
in interface ServerProxyMBean
public boolean isTomcat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |