public interface Cluster
Modifier and Type | Method and Description |
---|---|
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.
|
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 wantvoid 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 webappsjava.io.IOException
Copyright © 2012. All Rights Reserved.