程序包 infra.aop.target
接口 Refreshable
public interface Refreshable
Interface to be implemented by dynamic target objects,
which support reloading and optionally polling for updates.
- 从以下版本开始:
- 3.0
- 作者:
- Rod Johnson, Rob Harrop, TODAY 2021/2/1 21:19
-
方法概要
修饰符和类型方法说明longReturn the last time an actual refresh happened (as timestamp).longReturn the number of actual refreshes since startup.voidrefresh()Refresh the underlying target object.
-
方法详细资料
-
refresh
void refresh()Refresh the underlying target object. -
getRefreshCount
long getRefreshCount()Return the number of actual refreshes since startup. -
getLastRefreshTime
long getLastRefreshTime()Return the last time an actual refresh happened (as timestamp).
-