- acquire
Obtain the current reference. You must match every call to acquire with one call
to #release; it's b
- release
Release the reference previously obtained via #acquire().NOTE: it's safe to call this after #close()
- maybeRefreshBlocking
You must call this (or #maybeRefresh()), periodically, if you want that
#acquire() will return refre
- addListener
Adds a listener, to be notified when a reference is refreshed/swapped.
- removeListener
Remove a listener added with #addListener(RefreshListener).
- afterClose
Called after close(), so subclass can free any resources.
- afterMaybeRefresh
Called after a refresh was attempted, regardless of whether a new reference was
in fact created.
- decRef
Decrement reference counting on the given reference.
- doMaybeRefresh
- ensureOpen
- getRefCount
Returns the current reference count of the given reference.
- notifyRefreshListenersBefore