|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.groupmanager.monitoring.MonitoringFactory
public final class MonitoringFactory
Monitoring factory.
Method Summary | |
---|---|
static GroupManagerMonitoringService |
newGroupManagerMonitoringService(GroupManagerRepository repository,
int monitoringInterval)
Creates a new group manager monitoring service. |
static GroupManagerSummaryReceiver |
newGroupManagerSummaryReceiver(org.inria.myriads.snoozecommon.communication.NetworkAddress networkAddress,
int timeOut,
GroupLeaderRepository repository)
Creates a new group leader summary receiver. |
static LocalControllerSummaryConsumer |
newLocalControllerSummaryConsumer(BlockingQueue<LocalControllerDataTransporter> dataQueue,
StateMachine stateMachine,
GroupManagerRepository repository)
Creates a new local controller summary information consumer. |
static LocalControllerSummaryReceiver |
newLocalControllerSummaryReceiver(org.inria.myriads.snoozecommon.communication.NetworkAddress networkAddress,
int timeOut,
BlockingQueue<LocalControllerDataTransporter> dataQueue,
StateMachine stateMachine,
GroupManagerRepository repository)
Creates a new local controller monitoring data receiver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GroupManagerSummaryReceiver newGroupManagerSummaryReceiver(org.inria.myriads.snoozecommon.communication.NetworkAddress networkAddress, int timeOut, GroupLeaderRepository repository) throws Exception
networkAddress
- The network addresstimeOut
- The time outrepository
- The repository
Exception
public static LocalControllerSummaryReceiver newLocalControllerSummaryReceiver(org.inria.myriads.snoozecommon.communication.NetworkAddress networkAddress, int timeOut, BlockingQueue<LocalControllerDataTransporter> dataQueue, StateMachine stateMachine, GroupManagerRepository repository) throws Exception
networkAddress
- The network addresstimeOut
- The timeoutdataQueue
- The data queuestateMachine
- The state machinerepository
- The group manager repository
Exception
public static LocalControllerSummaryConsumer newLocalControllerSummaryConsumer(BlockingQueue<LocalControllerDataTransporter> dataQueue, StateMachine stateMachine, GroupManagerRepository repository) throws Exception
dataQueue
- The data queuestateMachine
- The state machinerepository
- The repository
Exception
public static GroupManagerMonitoringService newGroupManagerMonitoringService(GroupManagerRepository repository, int monitoringInterval) throws Exception
repository
- The group manager repositorymonitoringInterval
- The monitoring interval
Exception
- The exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |