public static class RefreshStrategy.LogOnce extends RefreshStrategy.Timed
RefreshStrategy.Composite, RefreshStrategy.LogOnce, RefreshStrategy.Timedinterval| Constructor and Description |
|---|
RefreshStrategy.LogOnce(long interval) |
public RefreshStrategy.LogOnce(long interval)
interval - Interval in seconds after which a warning is logged if there was no
activity.public boolean needsRefresh(long secondsSinceLastAccess)
needsRefresh in interface RefreshStrategyneedsRefresh in class RefreshStrategy.TimedsecondsSinceLastAccess - seconds since last accessfalsepublic void refreshed()
refreshed in interface RefreshStrategyrefreshed in class RefreshStrategy.Timedpublic String toString()
toString in class RefreshStrategy.TimedCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.