Class AntivirusAsyncStatisticsManager
java.lang.Object
javax.management.StandardMBean
com.liferay.antivirus.async.store.jmx.AntivirusAsyncStatisticsManager
- All Implemented Interfaces:
AntivirusAsyncStatisticsManagerMBean,DynamicMBean,MBeanRegistration
public class AntivirusAsyncStatisticsManager
extends StandardMBean
implements AntivirusAsyncStatisticsManagerMBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.framework.BundleContext bundleContext) protected voidintlonglonglonglonglongbooleanvoidrefresh()voidsetAutoRefresh(boolean autoRefresh) Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
Constructor Details
-
AntivirusAsyncStatisticsManager
- Throws:
NotCompliantMBeanException
-
-
Method Details
-
getActiveScanCount
public int getActiveScanCount()- Specified by:
getActiveScanCountin interfaceAntivirusAsyncStatisticsManagerMBean
-
getLastRefresh
- Specified by:
getLastRefreshin interfaceAntivirusAsyncStatisticsManagerMBean
-
getPendingScanCount
public long getPendingScanCount()- Specified by:
getPendingScanCountin interfaceAntivirusAsyncStatisticsManagerMBean
-
getProcessingErrorCount
public long getProcessingErrorCount()- Specified by:
getProcessingErrorCountin interfaceAntivirusAsyncStatisticsManagerMBean
-
getSizeExceededCount
public long getSizeExceededCount()- Specified by:
getSizeExceededCountin interfaceAntivirusAsyncStatisticsManagerMBean
-
getTotalScannedCount
public long getTotalScannedCount()- Specified by:
getTotalScannedCountin interfaceAntivirusAsyncStatisticsManagerMBean
-
getVirusFoundCount
public long getVirusFoundCount()- Specified by:
getVirusFoundCountin interfaceAntivirusAsyncStatisticsManagerMBean
-
isAutoRefresh
public boolean isAutoRefresh()- Specified by:
isAutoRefreshin interfaceAntivirusAsyncStatisticsManagerMBean
-
refresh
public void refresh()- Specified by:
refreshin interfaceAntivirusAsyncStatisticsManagerMBean
-
setAutoRefresh
public void setAutoRefresh(boolean autoRefresh) - Specified by:
setAutoRefreshin interfaceAntivirusAsyncStatisticsManagerMBean
-
activate
protected void activate(org.osgi.framework.BundleContext bundleContext) -
deactivate
protected void deactivate()
-