org.grinvin.invariants

Class PrioritizedRunnableExecutor


public class PrioritizedRunnableExecutor
extends java.lang.Object

The global PrioritizedRunnableExecutor. It handles the pool of threads that execute PrioritizedRunnables.

Method Summary

void
execute(PrioritizedRunnable command)
Execute the given runnable
int
getCount()
static PrioritizedRunnableExecutor
getInstance()

Method Details

execute

public void execute(PrioritizedRunnable command)
Execute the given runnable
Parameters:
command - Runnable to execute

getCount

public int getCount()

getInstance

public static PrioritizedRunnableExecutor getInstance()