org.fusesource.hawtdispatch
Class AggregatingExecutor
java.lang.Object
org.fusesource.hawtdispatch.AggregatingExecutor
- All Implemented Interfaces:
- Executor
public class AggregatingExecutor
- extends Object
- implements Executor
Sends runnable tasks to a DispatchQueue via a an EventAggregator
so that they first batch up on the sender side before being
sent to the DispatchQueue which then executes that tasks.
- Author:
- Hiram Chirino
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatingExecutor
public AggregatingExecutor(DispatchQueue queue)
suspend
public void suspend()
resume
public void resume()
execute
public void execute(Runnable task)
- Specified by:
execute
in interface Executor
Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.