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 and description |
|---|
JmxTimerFactory() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
isLeaf()Indicates that the timer node is terminal. |
|
Object |
newInstance(FactoryBuilderSupport builder, Object nodeName, Object nodeParam, Map nodeAttribs)Creates and registers a JMX timer. |
|
boolean |
onHandleNodeAttributes(FactoryBuilderSupport builder, Object node, Map nodeAttribs)Leaves attribute handling to newInstance(FactoryBuilderSupport, Object, Object, Map). |
|
void |
onNodeCompleted(FactoryBuilderSupport builder, Object parentNode, Object thisNode)Adds the created timer to its parent collection when one exists. |
| Methods inherited from class | Name |
|---|---|
class AbstractFactory |
isHandlesNodeChildren, isLeaf, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild, setParent |
Indicates that the timer node is terminal.
trueCreates and registers a JMX timer.
builder - the active buildernodeName - the node namenodeParam - positional node argumentsnodeAttribs - named node attributesLeaves attribute handling to newInstance(FactoryBuilderSupport, Object, Object, Map).
builder - the active buildernode - the current nodenodeAttribs - remaining node attributesfalseAdds the created timer to its parent collection when one exists.
builder - the active builderparentNode - the parent nodethisNode - the created timerCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.