[Groovy] Class JmxTimerFactory
- groovy.jmx.builder.JmxTimerFactory
class JmxTimerFactory extends AbstractFactory
The JmxTimerFactory class generates a timer() node for JmxBuilder. This node crates a standard JMX Timer object that can be used to provide timing signals to registered JMX listeners.
Syntax:
timer( name:"object name"|ObjectName(), event:"...", message:"...", data:dataValue startDate:"now"|dateValue period:"99d"|"99h"|"99m"|"99s"|99 occurences:long )
Constructor Summary
Constructor and description |
---|
JmxTimerFactory
() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
boolean |
isLeaf() | |
Object |
newInstance(FactoryBuilderSupport builder, Object nodeName, Object nodeParam, Map nodeAttribs) | |
boolean |
onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map nodeAttribs) | |
void |
onNodeCompleted(FactoryBuilderSupport builder, Object parentNode, Object thisNode) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class AbstractFactory | setParent, isLeaf, onFactoryRegistration, onHandleNodeAttributes, isHandlesNodeChildren, setChild, onNodeChildren, onNodeCompleted, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
Constructor Detail
JmxTimerFactory()
Method Detail
boolean isLeaf()
Object newInstance(FactoryBuilderSupport builder, Object nodeName, Object nodeParam, Map nodeAttribs)
boolean onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map nodeAttribs)
void onNodeCompleted(FactoryBuilderSupport builder, Object parentNode, Object thisNode)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/jmx/builder/JmxTimerFactory.html