Interface ManagedHostBindings.BoundValue
- All Superinterfaces:
AutoCloseable
- Enclosing class:
ManagedHostBindings
Prepared host binding. Reads must be nonblocking and must not establish new network connections.
-
Method Summary
-
Method Details
-
get
Object get()Reads the current prepared value; caller ownership remains borrowed.- Returns:
- value assignable to the declared edge type, possibly null only when the adapter allows it
- Throws:
IllegalStateException- if unavailable or closed
-
close
Releases this binding's watches/resources, once; no application value is disposed here.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception- if cleanup fails
-