org.objectweb.jonas.management.monitoring
Interface ServerProxyMBean

All Known Implementing Classes:
ServerProxy

public interface ServerProxyMBean

Implements MBean interface for proxy MBeans. A proxy MBean represents a server in the domain on the master server's MBean server.

Author:
Adriana Danes

Method Summary
 void deployModule(java.lang.String filename)
           
 int getAllThreadsCount()
           
 long getBytesReceivedByConnectorTomcat()
           
 long getBytesSentByConnectorTomcat()
           
 java.lang.String getClusterDaemonName()
           
 int getConnectionFailuresJCAConnection()
           
 int getConnectionFailuresJDBCResource()
           
 int getConnectionLeaksJCAConnection()
           
 int getConnectionLeaksJDBCResource()
           
 java.lang.String getConnectionUrl()
           
 int getCurrentBusyJCAConnection()
           
 int getCurrentBusyJDBCResource()
           
 int getCurrentNumberOfEJB()
           
 int getCurrentNumberOfEntityBean()
           
 int getCurrentNumberOfMDB()
           
 int getCurrentNumberOfSBF()
           
 int getCurrentNumberOfSBL()
           
 int getCurrentOpenedJCAConnection()
           
 int getCurrentOpenedJDBCResource()
           
 int getCurrentThreadBusyByConnectorTomcat()
           
 int getCurrentThreadCountByConnectorTomcat()
           
 java.lang.Long getCurrentTotalMemory()
           
 java.lang.Long getCurrentUsedMemory()
           
 int getCurrentWorkerPoolSize()
           
 int getErrorCountByConnectorTomcat()
           
 java.lang.String getHostName()
           
 java.lang.String getJavaVendor()
           
 java.lang.String getJavaVersion()
           
 boolean getJcaConnection()
           
 boolean getJdbcDatasource()
           
 boolean getJmsJoram()
           
 int getJmsQueuesNbMsgsDeliverSinceCreation()
           
 int getJmsQueuesNbMsgsReceiveSinceCreation()
           
 int getJmsQueuesNbMsgsSendToDMQSinceCreation()
           
 int getJmsTopicsNbMsgsDeliverSinceCreation()
           
 int getJmsTopicsNbMsgsReceiveSinceCreation()
           
 int getJmsTopicsNbMsgsSendToDMQSinceCreation()
           
 java.lang.String getJOnASVersion()
           
 java.lang.String getLoadCPU()
           
 int getMaxcheck()
           
 int getMaxThreadsByConnectorTomcat()
           
 int getMaxWorkerPoolSize()
           
 javax.management.MBeanServer getMbeanServer()
           
 int getMinWorkerPoolSize()
           
 java.lang.String getObjectName()
           
 long getProcessingTimeByConnectorTomcat()
           
 java.lang.String getProtocols()
           
 int getRejectedOpenJCAConnection()
           
 int getRejectedOpenJDBCResource()
           
 int getRequestCountByConnectorTomcat()
           
 int getServedOpenJCAConnection()
           
 int getServedOpenJDBCResource()
           
 java.lang.String getState()
           
 boolean getTomcat()
           
 int getTotalBegunTransactions()
           
 int getTotalCommittedTransactions()
           
 int getTotalCurrentTransactions()
           
 int getTotalExpiredTransactions()
           
 int getTotalRolledbackTransactions()
           
 boolean getTransaction()
           
 int getWaiterCountJCAConnection()
           
 int getWaiterCountJDBCResource()
           
 long getWaitingTimeJCAConnection()
           
 long getWaitingTimeJDBCResource()
           
 boolean getWorkers()
           
 void setMaxcheck(int maxcheck)
           
 void startit()
          Set state to RUNNING
 void stopit()
          Stop server
 void undeployModule(java.lang.String filename)
           
 void uploadDeployModule(java.lang.String filename, boolean replaceExisting)
           
 void uploadFile(java.lang.String filename, boolean replaceExisting)
           
 

Method Detail

getMaxcheck

public int getMaxcheck()
Returns:
maximum number of retries when detecting a broken connection

setMaxcheck

public void setMaxcheck(int maxcheck)
Parameters:
maxcheck - value for maximum number of retries when detecting a broken connection

startit

public void startit()
Set state to RUNNING


stopit

public void stopit()
Stop server


deployModule

public void deployModule(java.lang.String filename)

undeployModule

public void undeployModule(java.lang.String filename)

uploadFile

public void uploadFile(java.lang.String filename,
                       boolean replaceExisting)

uploadDeployModule

public void uploadDeployModule(java.lang.String filename,
                               boolean replaceExisting)

getClusterDaemonName

public java.lang.String getClusterDaemonName()

getAllThreadsCount

public int getAllThreadsCount()

getConnectionFailuresJCAConnection

public int getConnectionFailuresJCAConnection()

getConnectionLeaksJCAConnection

public int getConnectionLeaksJCAConnection()

getCurrentBusyJCAConnection

public int getCurrentBusyJCAConnection()

getCurrentNumberOfEntityBean

public int getCurrentNumberOfEntityBean()

getCurrentNumberOfEJB

public int getCurrentNumberOfEJB()

getCurrentNumberOfMDB

public int getCurrentNumberOfMDB()

getCurrentNumberOfSBF

public int getCurrentNumberOfSBF()

getCurrentNumberOfSBL

public int getCurrentNumberOfSBL()

getCurrentOpenedJCAConnection

public int getCurrentOpenedJCAConnection()

getTomcat

public boolean getTomcat()

getCurrentThreadBusyByConnectorTomcat

public int getCurrentThreadBusyByConnectorTomcat()

getCurrentThreadCountByConnectorTomcat

public int getCurrentThreadCountByConnectorTomcat()

getRequestCountByConnectorTomcat

public int getRequestCountByConnectorTomcat()

getErrorCountByConnectorTomcat

public int getErrorCountByConnectorTomcat()

getMaxThreadsByConnectorTomcat

public int getMaxThreadsByConnectorTomcat()

getProcessingTimeByConnectorTomcat

public long getProcessingTimeByConnectorTomcat()

getBytesReceivedByConnectorTomcat

public long getBytesReceivedByConnectorTomcat()

getBytesSentByConnectorTomcat

public long getBytesSentByConnectorTomcat()

getCurrentTotalMemory

public java.lang.Long getCurrentTotalMemory()

getCurrentUsedMemory

public java.lang.Long getCurrentUsedMemory()

getHostName

public java.lang.String getHostName()

getJavaVendor

public java.lang.String getJavaVendor()

getJavaVersion

public java.lang.String getJavaVersion()

getJmsJoram

public boolean getJmsJoram()

getJmsQueuesNbMsgsDeliverSinceCreation

public int getJmsQueuesNbMsgsDeliverSinceCreation()

getJmsQueuesNbMsgsReceiveSinceCreation

public int getJmsQueuesNbMsgsReceiveSinceCreation()

getJmsQueuesNbMsgsSendToDMQSinceCreation

public int getJmsQueuesNbMsgsSendToDMQSinceCreation()

getJmsTopicsNbMsgsDeliverSinceCreation

public int getJmsTopicsNbMsgsDeliverSinceCreation()

getJmsTopicsNbMsgsReceiveSinceCreation

public int getJmsTopicsNbMsgsReceiveSinceCreation()

getJmsTopicsNbMsgsSendToDMQSinceCreation

public int getJmsTopicsNbMsgsSendToDMQSinceCreation()

getJOnASVersion

public java.lang.String getJOnASVersion()

getLoadCPU

public java.lang.String getLoadCPU()

getMbeanServer

public javax.management.MBeanServer getMbeanServer()

getWorkers

public boolean getWorkers()

getMinWorkerPoolSize

public int getMinWorkerPoolSize()

getMaxWorkerPoolSize

public int getMaxWorkerPoolSize()

getCurrentWorkerPoolSize

public int getCurrentWorkerPoolSize()

getProtocols

public java.lang.String getProtocols()

getRejectedOpenJCAConnection

public int getRejectedOpenJCAConnection()

getJcaConnection

public boolean getJcaConnection()

getJdbcDatasource

public boolean getJdbcDatasource()

getState

public java.lang.String getState()
Returns:
the server's state as known by the proxy

getTransaction

public boolean getTransaction()

getTotalBegunTransactions

public int getTotalBegunTransactions()

getTotalCommittedTransactions

public int getTotalCommittedTransactions()

getTotalCurrentTransactions

public int getTotalCurrentTransactions()

getTotalExpiredTransactions

public int getTotalExpiredTransactions()

getTotalRolledbackTransactions

public int getTotalRolledbackTransactions()

getWaiterCountJCAConnection

public int getWaiterCountJCAConnection()

getWaitingTimeJCAConnection

public long getWaitingTimeJCAConnection()

getServedOpenJCAConnection

public int getServedOpenJCAConnection()

getConnectionFailuresJDBCResource

public int getConnectionFailuresJDBCResource()

getConnectionLeaksJDBCResource

public int getConnectionLeaksJDBCResource()

getCurrentBusyJDBCResource

public int getCurrentBusyJDBCResource()

getCurrentOpenedJDBCResource

public int getCurrentOpenedJDBCResource()

getRejectedOpenJDBCResource

public int getRejectedOpenJDBCResource()

getServedOpenJDBCResource

public int getServedOpenJDBCResource()

getWaiterCountJDBCResource

public int getWaiterCountJDBCResource()

getWaitingTimeJDBCResource

public long getWaitingTimeJDBCResource()

getObjectName

public java.lang.String getObjectName()

getConnectionUrl

public java.lang.String getConnectionUrl()