Interface ReferenceManager.RefreshListener

    • Method Detail

      • beforeRefresh

        void beforeRefresh()
                    throws IOException
        Called right before a refresh attempt starts.
        Throws:
        IOException
      • afterRefresh

        void afterRefresh​(boolean didRefresh)
                   throws IOException
        Called after the attempted refresh; if the refresh did open a new reference then didRefresh will be true and ReferenceManager.acquire() is guaranteed to return the new reference.
        Throws:
        IOException