|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.concurrent.AbstractExecutorService
org.gridgain.grid.thread.GridWorkManagerExecutorService
public class GridWorkManagerExecutorService
CommonJ-based wrapper for ExecutorService.
Implementation delegates all execution request to the work manager. Note that CommonJ
work manager is used and/or supported by wide verity of application servers and frameworks
such as Coherence, Weblogic, Websphere, Spring, Globus, apache projects, etc.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3
![]() |
![]() |
| Constructor Summary | |
|---|---|
GridWorkManagerExecutorService(String jndiName)
Creates new instance of execution service based on CommonJ implementation. |
|
GridWorkManagerExecutorService(commonj.work.WorkManager mngr)
Creates new instance of execution service based on CommonJ implementation. |
|
| Method Summary | |
|---|---|
boolean |
awaitTermination(long timeout,
TimeUnit unit)
|
void |
execute(Runnable command)
|
boolean |
isShutdown()
|
boolean |
isTerminated()
|
void |
shutdown()
|
List<Runnable> |
shutdownNow()
|
| Methods inherited from class java.util.concurrent.AbstractExecutorService |
|---|
invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridWorkManagerExecutorService(String jndiName)
throws GridException
GridException - If work manager is unreachable.jndiName - Work manager JNDI name.public GridWorkManagerExecutorService(commonj.work.WorkManager mngr)
mngr - Work manager.| Method Detail |
|---|
public void execute(Runnable command)
public void shutdown()
public List<Runnable> shutdownNow()
public boolean isShutdown()
public boolean isTerminated()
public boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedException
|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|