程序包 infra.aop.target

接口 Refreshable

所有已知实现类:
AbstractRefreshableTargetSource, BeanFactoryRefreshableTargetSource

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
  • 方法概要

    修饰符和类型
    方法
    说明
    long
    Return the last time an actual refresh happened (as timestamp).
    long
    Return the number of actual refreshes since startup.
    void
    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).