org.smallmind.cloud.cluster.protocol.remote
Class RemoteClusterManager

java.lang.Object
  extended by org.smallmind.cloud.cluster.protocol.remote.RemoteClusterManager
All Implemented Interfaces:
ClusterManager<RemoteClusterProtocolDetails>

public class RemoteClusterManager
extends Object
implements ClusterManager<RemoteClusterProtocolDetails>


Constructor Summary
protected RemoteClusterManager(ClusterInterface<RemoteClusterProtocolDetails> clusterInterface)
           
 
Method Summary
 ClusterHandle getClusterHandle()
           
 ClusterInterface<RemoteClusterProtocolDetails> getClusterInterface()
           
 Object invoke(Method method, Object[] args)
           
 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

RemoteClusterManager

protected RemoteClusterManager(ClusterInterface<RemoteClusterProtocolDetails> clusterInterface)
Method Detail

getClusterInterface

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

getClusterHandle

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

updateClusterStatus

public void updateClusterStatus(ClusterEndpoint clusterEndpoint,
                                int calibratedFreeCapacity)
                         throws ClusterManagementException
Specified by:
updateClusterStatus in interface ClusterManager<RemoteClusterProtocolDetails>
Throws:
ClusterManagementException

removeClusterMember

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

invoke

public Object invoke(Method method,
                     Object[] args)
              throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.