title: Best ways to handle maximum execution time for threads (in Java)
body: <p>So, I'm curious. How do you handle setting maximum execution time for threads? When running in a thread pool?</p>
  
  <p>I have several techniques but, I'm never quite satisfied with them. So, I figure I'd ask the community how they go about it.</p>