|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.DefaultRemoter
org.directwebremoting.contrib.ParallelDefaultRemoter
public class ParallelDefaultRemoter
This implementation is not officially supported, and may be removed at some point in the future. Remoter implementation executing in parallel a group of remote calls.
| Constructor Summary | |
|---|---|
ParallelDefaultRemoter()
Initialize thread pool with : Core pool size : 10; Maximum pool size = 100; Keep alive time = 5000(ms); Timeout = 10000(ms); |
|
| Method Summary | |
|---|---|
Replies |
execute(Calls calls)
Execute a set of remote calls in parallel and generate set of reply data for later conversion to whatever wire protocol we are using today. |
void |
setParallelDefaultRemoterCorePoolsize(int corePoolsize)
Sets the core number of threads. |
void |
setParallelDefaultRemoterKeepAliveTime(long keepAliveTime)
Sets the time limit in (ms) for which threads may remain idle before being terminated. |
void |
setParallelDefaultRemoterMaximumPoolsize(int maximumPoolsize)
Sets the maximum allowed number of threads. |
void |
setParallelDefaultRemoterTimeout(long timeout)
Sets the maximum time to wait in (ms) |
| Methods inherited from class org.directwebremoting.impl.DefaultRemoter |
|---|
execute, generateInterfaceScript, setAccessControl, setAjaxFilterManager, setAllowImpossibleTests, setConverterManager, setCreatorManager, setMaxCallCount, setOverridePath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParallelDefaultRemoter()
| Method Detail |
|---|
public void setParallelDefaultRemoterTimeout(long timeout)
timeout - Time in (ms)public void setParallelDefaultRemoterCorePoolsize(int corePoolsize)
corePoolsize - How many threads do we usepublic void setParallelDefaultRemoterMaximumPoolsize(int maximumPoolsize)
maximumPoolsize - Maximum of threadspublic void setParallelDefaultRemoterKeepAliveTime(long keepAliveTime)
keepAliveTime - Time in (ms)public Replies execute(Calls calls)
execute in interface Remoterexecute in class DefaultRemotercalls - The set of calls to execute in parallel
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||