maybeRefreshBlocking

You must call this (or maybeRefresh), periodically, if you want that will return refreshed instances.

Threads: unlike maybeRefresh, if another thread is currently refreshing, this method blocks until that thread completes. It is useful if you want to guarantee that the next call to acquire will return a refreshed instance. Otherwise, consider using the non-blocking maybeRefresh.

Throws

IOException

if refreshing the resource causes an IOException

if the reference manager has been close closed.