本文整理了Java中com.jamonapi.Monitor.getListeners()
方法的一些代码示例,展示了Monitor.getListeners()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Monitor.getListeners()
方法的具体详情如下:
包路径:com.jamonapi.Monitor
类名称:Monitor
方法名:getListeners
暂无
代码示例来源:origin: com.jamonapi/com.springsource.com.jamonapi
/**
* Add a listener that receives notification every time this monitors add
* method is called. If null is passed all associated Listeners will be
* detached.
*/
// Some jamon 2.4 introduced methods. Mostly listener related.
public ListenerType getListenerType(String listenerType) {
return getListeners().getListenerType(listenerType);
}
代码示例来源:origin: stevensouza/jamonapi
/** pass in a valid listener type (min, max, value, maxactive) and get the ListenerType
*
*/
public ListenerType getListenerType(String listenerType) {
Listeners listeners=getListeners();
if (listeners==null)
return null;
else
return listeners.getListenerType(listenerType);
}
内容来源于网络,如有侵权,请联系作者删除!