[Groovy] Class JmxTimerFactory

  • groovy.jmx.builder.JmxTimerFactory

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
 )
 

Methods Summary

Methods
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

Inherited Methods
Methods inherited from class Name
class AbstractFactory setParent, isLeaf, onFactoryRegistration, isHandlesNodeChildren, onHandleNodeAttributes, setChild, onNodeChildren, onNodeCompleted, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

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/2.4.21/html/gapi/groovy/jmx/builder/JmxTimerFactory.html