Class LongMonitoredAttributeBase

java.lang.Object
com.sun.corba.se.spi.monitoring.MonitoredAttributeBase
com.sun.corba.se.spi.monitoring.LongMonitoredAttributeBase
All Implemented Interfaces:
MonitoredAttribute

public abstract class LongMonitoredAttributeBase extends MonitoredAttributeBase

Author:
Hemanth Puttaswamy

A Cleaner Abstraction to provide a Monitored Attribute of type 'Long'

  • Constructor Details

    • LongMonitoredAttributeBase

      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.

      Parameters:
      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.