001package org.gbif.utils.concurrent;
002
003import java.util.concurrent.Executor;
004
005/**
006 * Executor that runs tasks syncroneously and immediately.
007 */
008public class DirectExecutor implements Executor {
009
010  public void execute(Runnable r) {
011    r.run();
012  }
013}