title: Control ExecutorService to execute N tasks per second maximum
body: <p>How to control/limit the tasks that are submitted to a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html" rel="noreferrer"><code>ExecutorService</code></a>? I have <code>SMSTask</code> that sends SMS messages and I need to control the executor so that it can only send at maximum N messages/second.</p>