You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.
I think as they both have the shutdown() method, there might be a common interface defining shutdown()
that would make some support code I'm making fairly more general, because I have a class wrapping BatchInserters (so far) which is an AutoCloseable and calls shutdown() in its close(), thus mediating between BatchInserters and try-with-resource
it would be really nice if that could be generalized to the interface providing shutdown() if there is such
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think as they both have the
shutdown()
method, there might be a common interface definingshutdown()
that would make some support code I'm making fairly more general, because I have a class wrapping BatchInserters (so far) which is an AutoCloseable and calls
shutdown()
in itsclose()
, thus mediating between BatchInserters andtry
-with-resourceit would be really nice if that could be generalized to the interface providing
shutdown()
if there is suchThe text was updated successfully, but these errors were encountered: