org.smallmind.cloud.cluster
Interface ClusterService<D extends ClusterProtocolDetails>

All Known Implementing Classes:
QueueClusterService, RemoteClusterServiceImpl, SocketClusterService

public interface ClusterService<D extends ClusterProtocolDetails>


Method Summary
 void bindClusterMember(ClusterMember clusterMember)
           
 void fireServiceBroadcast(ServiceClusterBroadcast serviceClusterBroadcast)
           
 ClusterInstance<D> getClusterInstance()
           
 void handleServiceBroadcast(ServiceClusterBroadcast serviceClusterBroadcast)
           
 void start()
           
 void stop()
           
 

Method Detail

getClusterInstance

ClusterInstance<D> getClusterInstance()

bindClusterMember

void bindClusterMember(ClusterMember clusterMember)
                       throws ClusterManagementException
Throws:
ClusterManagementException

handleServiceBroadcast

void handleServiceBroadcast(ServiceClusterBroadcast serviceClusterBroadcast)

fireServiceBroadcast

void fireServiceBroadcast(ServiceClusterBroadcast serviceClusterBroadcast)
                          throws EventMessageException
Throws:
EventMessageException

start

void start()
           throws ClusterManagementException
Throws:
ClusterManagementException

stop

void stop()


Copyright © 2011. All Rights Reserved.