de.is24.util.monitoring
Class StateValueProvider
java.lang.Object
de.is24.util.monitoring.StateValueProvider
- All Implemented Interfaces:
- Reportable
- Direct Known Subclasses:
- AbstractStateValueProvider, SimpleStateValueProvider
public abstract class StateValueProvider
- extends Object
- implements Reportable
StateValueProviders allow access to a numeric value (long),
that is already available in the application
- Author:
- OSchmitz
|
Field Summary |
private static org.apache.log4j.Logger |
LOGGER
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final org.apache.log4j.Logger LOGGER
StateValueProvider
public StateValueProvider()
accept
public void accept(ReportVisitor aVisitor)
- Implements the visitor pattern to read this StateValueProvider
- Specified by:
accept in interface Reportable
getValue
public abstract long getValue()
- Returns:
- return the value of the state value
getName
public abstract String getName()
- the name of the state value
- Specified by:
getName in interface Reportable
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.