private double m_lastTemp = InteropConstants.DEFAULT_VISIBILITY;
public ResourceProperty refreshProperty(ResourceProperty resourceProperty) throws CallbackFailedException
{
Calendar resetAt = Calendar.getInstance();
VisibilityMetricType prop_visibility = (VisibilityMetricType) resourceProperty.get(0);
prop_visibility.setResetAt(resetAt);
prop_visibility.setDoubleValue(CallbackUtils.getNextRandomValue(m_lastTemp, InteropConstants.MAX_VISIBILITY, InteropConstants.MIN_VISIBILITY));
return resourceProperty;
}