public class CriticalAnalyzerImpl extends Object implements CriticalAnalyzer
Constructor and Description |
---|
CriticalAnalyzerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(CriticalComponent component) |
CriticalAnalyzer |
addAction(CriticalAction action) |
void |
check() |
void |
clear() |
long |
getCheckTimeNanoSeconds() |
int |
getNumberOfComponents() |
long |
getTimeout(TimeUnit unit) |
boolean |
isMeasuring() |
boolean |
isStarted() |
void |
remove(CriticalComponent component) |
CriticalAnalyzer |
setCheckTime(long timeout,
TimeUnit unit) |
CriticalAnalyzer |
setTimeout(long timeout,
TimeUnit unit) |
void |
start() |
void |
stop() |
public void clear()
clear
in interface CriticalAnalyzer
public int getNumberOfComponents()
getNumberOfComponents
in interface CriticalAnalyzer
public boolean isMeasuring()
isMeasuring
in interface CriticalAnalyzer
public void add(CriticalComponent component)
add
in interface CriticalAnalyzer
public void remove(CriticalComponent component)
remove
in interface CriticalAnalyzer
public CriticalAnalyzer setCheckTime(long timeout, TimeUnit unit)
setCheckTime
in interface CriticalAnalyzer
public long getCheckTimeNanoSeconds()
getCheckTimeNanoSeconds
in interface CriticalAnalyzer
public CriticalAnalyzer setTimeout(long timeout, TimeUnit unit)
setTimeout
in interface CriticalAnalyzer
public long getTimeout(TimeUnit unit)
getTimeout
in interface CriticalAnalyzer
public CriticalAnalyzer addAction(CriticalAction action)
addAction
in interface CriticalAnalyzer
public void check()
check
in interface CriticalAnalyzer
public void start()
start
in interface HornetQComponent
public void stop()
stop
in interface HornetQComponent
public boolean isStarted()
isStarted
in interface HornetQComponent
Copyright © 2018 JBoss by Red Hat. All rights reserved.