javaasynchronousberkeley-dbberkeley-db-je

Can Berkeley DB be used asynchronously in java?


Is there a way to do non-blocking actions on the java interface of Berkeley DB and get the status and result of the action using a Future or something similar (like getting a result of a Callable using a Future)?

I don't want the thread calling the DB to be blocked until the DB action is done.


Solution

  • from what I have seen in the API documentation, Berkeley DB JE does not have an asynchronous API. every call to the DB will block the calling thread until the action is done.