| winstone.Cluster
All known Subclasses: winstone.cluster.SimpleCluster,
Cluster | public interface Cluster (Code) | | Represents a cluster implementation, which is basically the communication
mechanism between a group of winstone containers.
author: Rick Knowles version: $Id: Cluster.java,v 1.5 2006/02/28 07:32:47 rickknowles Exp $ |
askClusterForSession | public WinstoneSession askClusterForSession(String sessionId, WebAppConfiguration webAppConfig)(Code) | | Check if the other nodes in this cluster have a session for this
sessionId.
Parameters: sessionId - The id of the session to check for Parameters: webAppConfig - The web app that owns the session we want A valid session instance |
clusterRequest | public void clusterRequest(byte requestType, InputStream in, OutputStream out, Socket socket, HostGroup hostGroup) throws IOException(Code) | | Accept a control socket request related to the cluster functions and
process the request.
Parameters: requestType - A byte indicating the request type Parameters: in - Socket input stream Parameters: outSocket - output stream Parameters: hostConfig - The collection of all local webapps throws: IOException - |
destroy | public void destroy()(Code) | | Destroy the maintenance thread if there is one. Prepare for shutdown
|
|
|