public static class RefreshStrategy.LogOnce extends RefreshStrategy.Timed
RefreshStrategy.Composite, RefreshStrategy.ConditionalRefreshStrategy, RefreshStrategy.LogOnce, RefreshStrategy.Timedinterval| Constructor and Description |
|---|
LogOnce(long interval) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
needsRefresh(long secondsSinceLastAccess)
Log once
|
void |
refreshed() |
String |
toString() |
public 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–2018 The Apache Software Foundation. All rights reserved.