org.ow2.jonas.management.extensions.server.api
Interface IServer

All Known Implementing Classes:
ManagementEntryPoint, ServerMonitoring

public interface IServer

This interface provides a description of management operations provided for a server instance management in a domain.

Author:
Adriana Danes, Oualaa Hani, Thomas kouassi

Method Summary
 int getAllThreadsCount(String pServer)
          Get the number of threads used by a server in the domain.
 String getAutoBoot(String pServerName)
          Get the Auto boot used by the server
 long getBytesReceivedByConnectorTomcat(String server)
           
 long getBytesSentByConnectorTomcat(String server)
           
 String getConnectionUrl(String pServer)
          Get the JMX connection URL of the server.
 int getCurrentNumberOfEJB(String server)
           
 int getCurrentNumberOfEntityBean(String server)
           
 int getCurrentNumberOfMDB(String server)
           
 int getCurrentNumberOfSBF(String server)
           
 int getCurrentNumberOfSBL(String server)
           
 int getCurrentThreadBusyByConnectorTomcat(String server)
           
 int getCurrentThreadCountByConnectorTomcat(String server)
           
 Long getCurrentTotalMemory(String pServer)
          Get the total memory of the server in the domain.
 long getCurrentUsedMemory(String pServer)
          Get the memory used by a server in the domain.
 String getDescription(String pServerName)
          Get the Description
 int getErrorCountByConnectorTomcat(String server)
           
 String getHostName(String serverName)
           
 String getJavaHome(String serverName)
          Get the Java home
 String getJavaVendor(String pServer)
          Get the JVM vendor.
 String getJavaVersion(String pServer)
          Get the java version.
 String getJonasBase(String pServerName)
          Get the Jonas Base used by the server
 String getJonasRoot(String pServerName)
          Get the Jonas Root used by the server
 int getMaxThreadsByConnectorTomcat(String server)
           
 long getProcessingTimeByConnectorTomcat(String server)
           
 String getProtocols(String pServer)
          Get the the protocols used bye the server.
 int getRequestCountByConnectorTomcat(String server)
           
 String getServerVersion(String pServer)
          Get the version of a server in the domain.
 int getTotalBegunTransactions(String pServer)
           
 int getTotalCommittedTransactions(String pServer)
           
 int getTotalCurrentTransactions(String pServer)
           
 int getTotalExpiredTransactions(String pServer)
           
 int getTotalRolledbackTransactions(String pServer)
           
 String getXprem(String pServerName)
          Get the Xprem used by the server
 

Method Detail

getCurrentUsedMemory

long getCurrentUsedMemory(String pServer)
Get the memory used by a server in the domain.

Parameters:
pServer - the server's name.
Returns:
the used memory

getAllThreadsCount

int getAllThreadsCount(String pServer)
Get the number of threads used by a server in the domain.

Parameters:
pServer - the server's name.
Returns:
the number of threads

getCurrentTotalMemory

Long getCurrentTotalMemory(String pServer)
Get the total memory of the server in the domain.

Parameters:
pServer - the server's name.
Returns:
the total memory

getJavaVendor

String getJavaVendor(String pServer)
Get the JVM vendor.

Parameters:
pServer - the server's name.
Returns:
the JVM vendor

getJavaHome

String getJavaHome(String serverName)
Get the Java home

Parameters:
server - the server's name.
Returns:
the javaHome

getJavaVersion

String getJavaVersion(String pServer)
Get the java version.

Parameters:
pServer - the server's name.
Returns:
the java version

getServerVersion

String getServerVersion(String pServer)
Get the version of a server in the domain.

Parameters:
pServer - the server's name.
Returns:
the server's version

getProtocols

String getProtocols(String pServer)
Get the the protocols used bye the server.

Parameters:
pServer - the server's name.
Returns:
the protocols used bye the server

getJonasBase

String getJonasBase(String pServerName)
Get the Jonas Base used by the server

Parameters:
pServer - the server's name
Returns:
the jonas Base sed bye the server

getJonasRoot

String getJonasRoot(String pServerName)
Get the Jonas Root used by the server

Parameters:
pServer - the server's name
Returns:
the Jonas Root used bye the server

getXprem

String getXprem(String pServerName)
Get the Xprem used by the server

Parameters:
pServer - the server's name
Returns:
the Xprem used bye the server

getAutoBoot

String getAutoBoot(String pServerName)
Get the Auto boot used by the server

Parameters:
pServer - the server's name
Returns:
the Auto boot used bye the server

getDescription

String getDescription(String pServerName)
Get the Description

Parameters:
pServer - the server's name
Returns:
the server Description

getConnectionUrl

String getConnectionUrl(String pServer)
Get the JMX connection URL of the server.

Parameters:
pServer - the server's name.
Returns:
the JMX connection URL of the server

getTotalBegunTransactions

int getTotalBegunTransactions(String pServer)
Parameters:
pServer - Server name
Returns:
total begun transactions.

getTotalCommittedTransactions

int getTotalCommittedTransactions(String pServer)
Parameters:
pServer - Server name
Returns:
total commited transactions.

getTotalCurrentTransactions

int getTotalCurrentTransactions(String pServer)
Parameters:
pServer - Server name
Returns:
total current transactions.

getTotalExpiredTransactions

int getTotalExpiredTransactions(String pServer)
Parameters:
pServer - Server name
Returns:
total expired transactions.

getTotalRolledbackTransactions

int getTotalRolledbackTransactions(String pServer)
Parameters:
pServer - Server name
Returns:
total global transactions.

getMaxThreadsByConnectorTomcat

int getMaxThreadsByConnectorTomcat(String server)
Parameters:
pServer - Server name
Returns:
the max threads by connector tomcat.

getCurrentThreadCountByConnectorTomcat

int getCurrentThreadCountByConnectorTomcat(String server)
Parameters:
pServer - Server name
Returns:
current threads count by tomcat connector

getHostName

String getHostName(String serverName)
Parameters:
server - Server name.
Returns:
host name

getCurrentThreadBusyByConnectorTomcat

int getCurrentThreadBusyByConnectorTomcat(String server)
Parameters:
pServer - Server name
Returns:
current threads busy by connector tomcat.

getBytesReceivedByConnectorTomcat

long getBytesReceivedByConnectorTomcat(String server)
Parameters:
pServer - Server name
Returns:
bytes received by connector tomcat.

getBytesSentByConnectorTomcat

long getBytesSentByConnectorTomcat(String server)
Parameters:
pServer - Server name
Returns:
bytes sent by connector tomcat.

getErrorCountByConnectorTomcat

int getErrorCountByConnectorTomcat(String server)
Parameters:
pServer - Server name
Returns:
error count by connector tomcat.

getProcessingTimeByConnectorTomcat

long getProcessingTimeByConnectorTomcat(String server)
Parameters:
pServer - Server name
Returns:
processing time by connector tomcat.

getRequestCountByConnectorTomcat

int getRequestCountByConnectorTomcat(String server)
Parameters:
pServer - Server name
Returns:
request count by connector tomcat.

getCurrentNumberOfEJB

int getCurrentNumberOfEJB(String server)
Parameters:
pServer - Server name
Returns:
current number of EJB.

getCurrentNumberOfEntityBean

int getCurrentNumberOfEntityBean(String server)
Parameters:
pServer - Server name
Returns:
current number of Entity bean.

getCurrentNumberOfSBF

int getCurrentNumberOfSBF(String server)
Parameters:
pServer - Server name
Returns:
current number of state full bean.

getCurrentNumberOfSBL

int getCurrentNumberOfSBL(String server)
Parameters:
pServer - Server name
Returns:
current number of state less bean.

getCurrentNumberOfMDB

int getCurrentNumberOfMDB(String server)
Parameters:
pServer - Server name
Returns:
current number of mbean.


Copyright © 2010 OW2 Consortium. All Rights Reserved.