|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.AbstractServerLoadMonitor
org.directwebremoting.impl.PollingServerLoadMonitor
public class PollingServerLoadMonitor
A default implementation of ServerLoadMonitor
| Field Summary | |
|---|---|
protected int |
disconnectedTime
How long are we telling users to wait before they come back next |
| Fields inherited from class org.directwebremoting.impl.AbstractServerLoadMonitor |
|---|
waitControllers |
| Constructor Summary | |
|---|---|
PollingServerLoadMonitor()
|
|
| Method Summary | |
|---|---|
long |
getConnectedTime()
What's the longest time that we should wait before asking the client to reconnect? |
int |
getDisconnectedTime()
Controller for poll times. |
void |
setTimeToNextPoll(int disconnectedTime)
Accessor for the disconnected time. |
| Methods inherited from class org.directwebremoting.impl.AbstractServerLoadMonitor |
|---|
shutdown, shutdownRandomWaitControllers, threadWaitEnding, threadWaitStarting |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.directwebremoting.extend.ServerLoadMonitor |
|---|
shutdown, threadWaitEnding, threadWaitStarting |
| Field Detail |
|---|
protected int disconnectedTime
| Constructor Detail |
|---|
public PollingServerLoadMonitor()
| Method Detail |
|---|
public long getConnectedTime()
ServerLoadMonitor
getConnectedTime in interface ServerLoadMonitorpublic int getDisconnectedTime()
ServerLoadMonitorTODO: We should probably get rid of this and leave it to PollHandler?
getDisconnectedTime in interface ServerLoadMonitorpublic void setTimeToNextPoll(int disconnectedTime)
disconnectedTime - How long should clients spend disconnected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||