org.apache.muse.ws.dm.muws.impl
Class MetricOnDemandListener
java.lang.Object
org.apache.muse.ws.dm.muws.impl.MetricOnDemandListener
- All Implemented Interfaces:
- PropertyReadListener
public class MetricOnDemandListener
- extends Object
- implements PropertyReadListener
MetricOnDemandListener is a simple property listener that makes sure an
OnDemand metric's timestamps are updated for each property read that
occurs. Because OnDemand metrics are collected on a need-to-know basis,
we must update metric metadata to reflect new values even if they didn't
come from a property insert/update/etc.
- Author:
- Dan Jemiolo (danj)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricOnDemandListener
public MetricOnDemandListener(Metric metric)
getPropertyName
public QName getPropertyName()
- Specified by:
getPropertyName
in interface PropertyReadListener
readRequested
public Element[] readRequested(Element[] properties)
- Specified by:
readRequested
in interface PropertyReadListener
Copyright © 2013 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.