|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javasimon.source.DisabledMonitorSource<L,M>
public class DisabledMonitorSource<L,M extends Simon>
Disabled monitor source.
| Field Summary | |
|---|---|
private static DisabledMonitorSource |
INSTANCE
Singleton instance. |
| Constructor Summary | |
|---|---|
DisabledMonitorSource()
|
|
| Method Summary | ||
|---|---|---|
static
|
get()
Returns a singleton instance. |
|
Manager |
getManager()
Returns the Manager used as a real source of monitors. |
|
M |
getMonitor(L location)
Always returns null. |
|
boolean |
isMonitored(L location)
Always returns false. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final DisabledMonitorSource INSTANCE
| Constructor Detail |
|---|
public DisabledMonitorSource()
| Method Detail |
|---|
public static <L,M extends Simon> DisabledMonitorSource<L,M> get()
public M getMonitor(L location)
getMonitor in interface MonitorSource<L,M extends Simon>location - Location
public boolean isMonitored(L location)
isMonitored in interface MonitorSource<L,M extends Simon>location - Location
public Manager getManager()
MonitorSourceManager used as a real source of monitors.
getManager in interface MonitorSource<L,M extends Simon>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||