public abstract class LongMonitoredAttributeBase extends MonitoredAttributeBase
A Cleaner Abstraction to provide a Monitored Attribute of type 'Long'
Constructor and Description |
---|
LongMonitoredAttributeBase(String name,
String description)
Constructs LongMonitoredAttribute, by creating the
MonitoredAttributeInfo with 'Long' as the class type.
|
public LongMonitoredAttributeBase(String name, String description)
Constructs LongMonitoredAttribute, by creating the MonitoredAttributeInfo with 'Long' as the class type. Users are expected to extend this class and provide the implementation for getValue() and if needed clearState() as well.
name
- of tthe MonitoredAttribute
description
- of the Attribute, Please provid a well thought out
description, so that the admin can make sense of the attribute supplied.
Copyright © 2017 JBoss by Red Hat. All rights reserved.