Liferay 6.1.2-ce-ga3

com.liferay.portal.monitoring.jmx
Class ServiceManager

java.lang.Object
  extended by com.liferay.portal.monitoring.jmx.ServiceManager
All Implemented Interfaces:
ServiceManagerMBean

public class ServiceManager
extends Object
implements ServiceManagerMBean


Constructor Summary
ServiceManager()
           
 
Method Summary
 void addMonitoredClass(String className)
           
 void addMonitoredMethod(String className, String methodName, String[] parameterTypes)
           
 long getErrorCount(String className, String methodName, String[] parameterTypes)
           
 long getMaxTime(String className, String methodName, String[] parameterTypes)
           
 long getMinTime(String className, String methodName, String[] parameterTypes)
           
 Set<String> getMonitoredClasses()
           
 Set<MethodSignature> getMonitoredMethods()
           
 long getRequestCount(String className, String methodName, String[] parameterTypes)
           
 boolean isActive()
           
 boolean isPermissiveMode()
           
 void setActive(boolean active)
           
 void setPermissiveMode(boolean permissiveMode)
           
 void setServerStatistics(ServerStatistics serverStatistics)
           
 void setServiceMonitorAdvice(ServiceMonitorAdvice serviceMonitorAdvice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceManager

public ServiceManager()
Method Detail

addMonitoredClass

public void addMonitoredClass(String className)
Specified by:
addMonitoredClass in interface ServiceManagerMBean

addMonitoredMethod

public void addMonitoredMethod(String className,
                               String methodName,
                               String[] parameterTypes)
Specified by:
addMonitoredMethod in interface ServiceManagerMBean

getErrorCount

public long getErrorCount(String className,
                          String methodName,
                          String[] parameterTypes)
Specified by:
getErrorCount in interface ServiceManagerMBean

getMaxTime

public long getMaxTime(String className,
                       String methodName,
                       String[] parameterTypes)
Specified by:
getMaxTime in interface ServiceManagerMBean

getMinTime

public long getMinTime(String className,
                       String methodName,
                       String[] parameterTypes)
Specified by:
getMinTime in interface ServiceManagerMBean

getMonitoredClasses

public Set<String> getMonitoredClasses()
Specified by:
getMonitoredClasses in interface ServiceManagerMBean

getMonitoredMethods

public Set<MethodSignature> getMonitoredMethods()
Specified by:
getMonitoredMethods in interface ServiceManagerMBean

getRequestCount

public long getRequestCount(String className,
                            String methodName,
                            String[] parameterTypes)
Specified by:
getRequestCount in interface ServiceManagerMBean

isActive

public boolean isActive()
Specified by:
isActive in interface ServiceManagerMBean

isPermissiveMode

public boolean isPermissiveMode()
Specified by:
isPermissiveMode in interface ServiceManagerMBean

setActive

public void setActive(boolean active)
Specified by:
setActive in interface ServiceManagerMBean

setPermissiveMode

public void setPermissiveMode(boolean permissiveMode)
Specified by:
setPermissiveMode in interface ServiceManagerMBean

setServerStatistics

public void setServerStatistics(ServerStatistics serverStatistics)

setServiceMonitorAdvice

public void setServiceMonitorAdvice(ServiceMonitorAdvice serviceMonitorAdvice)

Liferay 6.1.2-ce-ga3