public static class RefreshStrategy.LogOnce extends RefreshStrategy.Timed
RefreshStrategy.Composite, RefreshStrategy.LogOnce, RefreshStrategy.Timed
interval
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 RefreshStrategy
needsRefresh
in class RefreshStrategy.Timed
secondsSinceLastAccess
- seconds since last accessfalse
public void refreshed()
refreshed
in interface RefreshStrategy
refreshed
in class RefreshStrategy.Timed
public String toString()
toString
in class RefreshStrategy.Timed
Copyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.