A
Supervised is a
Deferred adapter that has
knowledge of the last known availability of an object, the purpose of which
is to ensure that the underlying object is protected from repeated and
perhaps continuously unrelenting requests by an application to access it,
when it simply may be unavailable for a long period of time.
A program will use a
Supervised object to avoid the situation when
multiple
Threads attempt to call
#get() or a single
Thread calls
#get() in a tight loop. It protects the adapted
Deferred#get() method from being called repeatedly, allowing the underlying
resource a chance to "recover" when required.
Copyright (c) 2012. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.