Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

common interface for BatchInserter and GraphDatabaseService? #120

Open
ehx-v1 opened this issue May 9, 2016 · 0 comments
Open

common interface for BatchInserter and GraphDatabaseService? #120

ehx-v1 opened this issue May 9, 2016 · 0 comments

Comments

@ehx-v1
Copy link

ehx-v1 commented May 9, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant