Interface Refreshable
- All Known Implementing Classes:
AbstractRefreshableTargetSource, BeanFactoryRefreshableTargetSource, RefreshableScriptTargetSource
public interface Refreshable
Interface to be implemented by dynamic target objects,
which support reloading and optionally polling for updates.
- Since:
- 2.0
- Author:
- Rod Johnson, Rob Harrop
-
Method Summary
Modifier and TypeMethodDescriptionlongReturn the last time an actual refresh happened (as timestamp).longReturn the number of actual refreshes since startup.voidrefresh()Refresh the underlying target object.
-
Method Details
-
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).
-