Package io.micronaut.views.react.util
Interface BeanPool.Handle<T>
- Type Parameters:
T
- The type of the object being referenced.
- All Superinterfaces:
AutoCloseable
,Supplier<T>
A handle to a pooled object. Call
Supplier.get()
to obtain the wrapped reference, and then
pass this handle to BeanPool.checkIn(Handle)
to put it back. Alternatively you can
just close this object to check it back in.-
Method Summary
-
Method Details
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-