org.eobjects.metamodel.util
Class SharedExecutorService

java.lang.Object
  extended by org.eobjects.metamodel.util.SharedExecutorService

public final class SharedExecutorService
extends Object

A shared ExecutorService for use on ad-hoc tasks that can be optimized by running operations in parallel. Note that since this ExecutorService is shared, it is not recommended to use it for dedicated tasks or daemon-like long-running tasks.

Author:
Kasper Sørensen

Method Summary
static ExecutorService get()
          Gets the shared ExecutorService.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static final ExecutorService get()
Gets the shared ExecutorService.

Returns:
an ExecutorService for shared usage.


Copyright © 2007-2013. All Rights Reserved.