org.smallmind.cloud.cluster.protocol.socket
Class SocketClusterManager

java.lang.Object
  extended by org.smallmind.cloud.cluster.protocol.socket.SocketClusterManager
All Implemented Interfaces:
ClusterManager<SocketClusterProtocolDetails>

public class SocketClusterManager
extends Object
implements ClusterManager<SocketClusterProtocolDetails>


Constructor Summary
SocketClusterManager(ClusterHub clusterHub, ClusterInterface<SocketClusterProtocolDetails> clusterInterface)
           
 
Method Summary
 SocketChannel connect(Object[] parameters)
           
 ClusterHandle getClusterHandle()
           
 ClusterInterface<SocketClusterProtocolDetails> getClusterInterface()
           
 void removeClusterMember(ClusterEndpoint clusterEndpoint)
           
 void updateClusterStatus(ClusterEndpoint clusterEndpoint, int calibratedFreeCapacity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketClusterManager

public SocketClusterManager(ClusterHub clusterHub,
                            ClusterInterface<SocketClusterProtocolDetails> clusterInterface)
Method Detail

getClusterInterface

public ClusterInterface<SocketClusterProtocolDetails> getClusterInterface()
Specified by:
getClusterInterface in interface ClusterManager<SocketClusterProtocolDetails>

getClusterHandle

public ClusterHandle getClusterHandle()
Specified by:
getClusterHandle in interface ClusterManager<SocketClusterProtocolDetails>

updateClusterStatus

public void updateClusterStatus(ClusterEndpoint clusterEndpoint,
                                int calibratedFreeCapacity)
Specified by:
updateClusterStatus in interface ClusterManager<SocketClusterProtocolDetails>

removeClusterMember

public void removeClusterMember(ClusterEndpoint clusterEndpoint)
Specified by:
removeClusterMember in interface ClusterManager<SocketClusterProtocolDetails>

connect

public SocketChannel connect(Object[] parameters)
                      throws ClusterManagementException
Throws:
ClusterManagementException


Copyright © 2011. All Rights Reserved.