Class EmptyCriticalAnalyzer
java.lang.Object
org.apache.activemq.artemis.utils.critical.EmptyCriticalAnalyzer
- All Implemented Interfaces:
ActiveMQComponent,CriticalAnalyzer
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CriticalComponent component) addAction(CriticalAction action) voidcheck()longstatic EmptyCriticalAnalyzerlonggetTimeout(TimeUnit unit) longbooleanbooleanvoidremove(CriticalComponent component) setCheckTime(long timeout, TimeUnit unit) setTimeout(long timeout, TimeUnit unit) voidstart()voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStopMethods inherited from interface org.apache.activemq.artemis.utils.critical.CriticalAnalyzer
clear, getNumberOfComponents
-
Method Details
-
getInstance
-
add
- Specified by:
addin interfaceCriticalAnalyzer
-
remove
- Specified by:
removein interfaceCriticalAnalyzer
-
isMeasuring
public boolean isMeasuring()- Specified by:
isMeasuringin interfaceCriticalAnalyzer
-
start
- Specified by:
startin interfaceActiveMQComponent- Throws:
Exception
-
stop
- Specified by:
stopin interfaceActiveMQComponent- Throws:
Exception
-
getTimeoutNanoSeconds
public long getTimeoutNanoSeconds()- Specified by:
getTimeoutNanoSecondsin interfaceCriticalAnalyzer
-
isStarted
public boolean isStarted()- Specified by:
isStartedin interfaceActiveMQComponent
-
setCheckTime
- Specified by:
setCheckTimein interfaceCriticalAnalyzer
-
getCheckTimeNanoSeconds
public long getCheckTimeNanoSeconds()- Specified by:
getCheckTimeNanoSecondsin interfaceCriticalAnalyzer
-
setTimeout
- Specified by:
setTimeoutin interfaceCriticalAnalyzer
-
getTimeout
- Specified by:
getTimeoutin interfaceCriticalAnalyzer
-
addAction
- Specified by:
addActionin interfaceCriticalAnalyzer
-
check
public void check()- Specified by:
checkin interfaceCriticalAnalyzer
-