|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cluster
Represents a cluster implementation, which is basically the communication mechanism between a group of winstone containers.
Method Summary | |
---|---|
WinstoneSession |
askClusterForSession(java.lang.String sessionId,
WebAppConfiguration webAppConfig)
Check if the other nodes in this cluster have a session for this sessionId. |
void |
clusterRequest(byte requestType,
java.io.InputStream in,
java.io.OutputStream out,
java.net.Socket socket,
HostGroup hostGroup)
Accept a control socket request related to the cluster functions and process the request. |
void |
destroy()
Destroy the maintenance thread if there is one. |
Method Detail |
---|
void destroy()
WinstoneSession askClusterForSession(java.lang.String sessionId, WebAppConfiguration webAppConfig)
sessionId
- The id of the session to check forwebAppConfig
- The web app that owns the session we want
void clusterRequest(byte requestType, java.io.InputStream in, java.io.OutputStream out, java.net.Socket socket, HostGroup hostGroup) throws java.io.IOException
requestType
- A byte indicating the request typein
- Socket input streamoutSocket
- output streamhostConfig
- The collection of all local webapps
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |