Package de.mhus.lib.core
Class MCountWithDelay
- java.lang.Object
-
- de.mhus.lib.core.MLog
-
- de.mhus.lib.core.lang.MObject
-
- de.mhus.lib.core.jmx.JmxObject
-
- de.mhus.lib.core.jmx.MJmx
-
- de.mhus.lib.core.MCount
-
- de.mhus.lib.core.MCountWithDelay
-
- All Implemented Interfaces:
ILog,JmxObjectMBean,MNlsProvider,Nls
public class MCountWithDelay extends MCount
-
-
Field Summary
-
Fields inherited from class de.mhus.lib.core.jmx.JmxObject
jmxFixName, jmxName, jmxPackage, jmxType
-
-
Constructor Summary
Constructors Constructor Description MCountWithDelay()MCountWithDelay(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetSleepInterval()intgetSleepSeconds()voidinc()booleanisThrowExceptionOnNextCount()voidsetSleepInterval(long sleepInterval)voidsetSleepSeconds(int sleepSeconds)voidsetThrowExceptionOnNextCount(boolean throwExceptionOnNextCount)-
Methods inherited from class de.mhus.lib.core.MCount
close, finalize, getFirstHitTime, getHitsPerSecond, getLastHitTime, getName, getStatusAsString, getValue, reset, toString
-
Methods inherited from class de.mhus.lib.core.jmx.MJmx
jmxRegister
-
Methods inherited from class de.mhus.lib.core.jmx.JmxObject
createJmxObjectName, getJmxName, getJmxObjectName, getJmxPackage, getJmxType, isJmxFixName, isJmxRegistered, setJmxName, setJmxPackage, setJmxProxy, setJmxRegistered
-
-
-
-
Constructor Detail
-
MCountWithDelay
public MCountWithDelay()
-
MCountWithDelay
public MCountWithDelay(String name)
-
-
Method Detail
-
getSleepInterval
public long getSleepInterval()
-
setSleepInterval
public void setSleepInterval(long sleepInterval)
-
getSleepSeconds
public int getSleepSeconds()
-
setSleepSeconds
public void setSleepSeconds(int sleepSeconds)
-
isThrowExceptionOnNextCount
public boolean isThrowExceptionOnNextCount()
-
setThrowExceptionOnNextCount
public void setThrowExceptionOnNextCount(boolean throwExceptionOnNextCount)
-
-