|
|||||||||
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.SmallSiteServerLoadMonitor
public class SmallSiteServerLoadMonitor
A default implementation of ServerLoadMonitor
Field Summary |
---|
Fields inherited from class org.directwebremoting.impl.AbstractServerLoadMonitor |
---|
waitControllers |
Constructor Summary | |
---|---|
SmallSiteServerLoadMonitor()
|
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. |
boolean |
supportsStreaming()
If the server is not going to be streaming then we need to tell browsers to just use XHR rather than anything fancier. |
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 |
Constructor Detail |
---|
public SmallSiteServerLoadMonitor()
Method Detail |
---|
public boolean supportsStreaming()
ServerLoadMonitor
supportsStreaming
in interface ServerLoadMonitor
public long getConnectedTime()
ServerLoadMonitor
getConnectedTime
in interface ServerLoadMonitor
public int getDisconnectedTime()
ServerLoadMonitor
TODO: We should probably get rid of this and leave it to PollHandler?
getDisconnectedTime
in interface ServerLoadMonitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |