vcell
vcell copied to clipboard
Fixed a number of issues, all revolving around VCell locking up under the right (wrong) conditions
The core issue behind this PR: #1331
Fixes introduced in addressing this issue:
- VCell now sports new extensions to the
ClientTaskDispatcherclass: a)ClientTaskDispatcher::dispatchAndWaitwill now indefinitely block a dispatched list of tasks, until they are completed. b)ClientTaskDispatcher::dispatchWithFuturereturns aFuture<Hashtable<String, Object>>object, which can be used to check if the results are done, or impose a manual timeout on the operation; the underlying mechanism behindClientTaskDispatcher::dispatchAndWait - VCell no longer freezes up when disconnected and not trying to save a model in a closing window.
- VCell now gives error messages when attempting to save a model while disconnected, informing the user it can't seem to contact the database, and if they proceed a
DataAccessException. They are no longer stuck behind a progress dialog that goes on for too long. The window will not close until eitherNois re-selected, or the client is reconnected. - VCell now realizes much, MUCH sooner it has been disconnected (up to 5 seconds).
Closes #1331