title: How to check when an executor has finished running a particular Runnable
body: <p>I was looking for a way to wait and be notified when a particular Runnable has finished executing within an executor. </p>
  
  <p>I found a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/FutureTask.html#isDone%28%29" rel="nofollow">FutureTask</a> that has a method <code>get</code>, however, this returns a value. My program does not expect a return value; is there any data structure similar to FutureTask without needing to return a value? Almost like a FutureRunnable?</p>
  
  <p>Thanks!</p>