public interface Cluster
| Modifier and Type | Method and Description |
|---|---|
WinstoneSession |
askClusterForSession(String sessionId,
WebAppConfiguration webAppConfig)
Check if the other nodes in this cluster have a session for this
sessionId.
|
void |
clusterRequest(byte requestType,
InputStream in,
OutputStream out,
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(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,
InputStream in,
OutputStream out,
Socket socket,
HostGroup hostGroup)
throws IOException
requestType - A byte indicating the request typein - Socket input streamoutSocket - output streamhostConfig - The collection of all local webappsIOExceptionCopyright © 2014. All rights reserved.