keith-turner commented on issue #2331: URL: https://github.com/apache/accumulo/issues/2331#issuecomment-957553134
> then it looks like the SingletonManager.getMode() might do what I need That would work perfectly, I like it. Its internal code so it could always be improved later if we think of a better way to solve the problem, But it would be nice to fix the problem before release. I am not sure its appropriate for this particular case but one thing to consider in general from an API perspective is letting users pass in ExecutorServices and Thread Factories. The new bulk load API accepts an ExecutorService, giving users more control over background task that execute on the client side as part of a bulk load. I did look around a bit to see if passing in a ThreadFactory would be better than letting a user pass in an uncaught exception handler and did not come to a conclusion. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
