接口 Refreshable
- 所有已知实现类:
AbstractRefreshableTargetSource
,BeanFactoryRefreshableTargetSource
,RefreshableScriptTargetSource
public interface Refreshable
Interface to be implemented by dynamic target objects, which support reloading and optionally polling for updates.- 从以下版本开始:
- 2.0
- 作者:
- Rod Johnson, Rob Harrop
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 long
getLastRefreshTime()
Return the last time an actual refresh happened (as timestamp).long
getRefreshCount()
Return the number of actual refreshes since startup.void
refresh()
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).