| Package | Description |
|---|---|
| com.cloudhopper.mq.broker |
| Modifier and Type | Field and Description |
|---|---|
RemoteBrokerInfo |
RemoteQueueInfo.Entry.broker |
| Modifier and Type | Method and Description |
|---|---|
RemoteBrokerInfo |
RemoteQueueInfo.Entry.getBroker() |
RemoteBrokerInfo |
RemoteBrokerMonitor.getRemoteBroker() |
RemoteBrokerInfo |
DistributedQueueState.getRemoteBroker(String url) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentHashMap<String,RemoteBrokerInfo> |
DistributedQueueState.getRemoteBrokers() |
| Modifier and Type | Method and Description |
|---|---|
void |
DistributedQueueState.addRemoteBroker(RemoteBrokerInfo bi) |
int |
RemoteBrokerInfo.compareTo(RemoteBrokerInfo o) |
void |
DistributedQueueStateListener.notifyRemoteBrokerAdded(RemoteBrokerInfo bi)
Triggered when a RemoteBroker was added to the DistributedQueueState.
|
void |
DistributedQueueManager.notifyRemoteBrokerAdded(RemoteBrokerInfo bi) |
void |
DistributedQueueStateListener.notifyRemoteBrokerRemoved(RemoteBrokerInfo bi)
Triggered when a RemoteBroker was remove from the DistributedQueueState.
|
void |
DistributedQueueManager.notifyRemoteBrokerRemoved(RemoteBrokerInfo bi) |
void |
DistributedQueueStateListener.notifyRemoteBrokerStateChanged(RemoteBrokerInfo bi,
int state)
Triggered when the state of a RemoteBroker has changed in the DistributedQueueState.
|
void |
DistributedQueueManager.notifyRemoteBrokerStateChanged(RemoteBrokerInfo bi,
int state) |
RemoteQueueInfo.Event |
RemoteQueueInfo.setRemoteBrokerWeight(RemoteBrokerInfo bi,
int weight)
Sets or adds the RemoteBroker and either updates or sets the weight
of it to the new value.
|
| Constructor and Description |
|---|
RemoteBrokerMonitor(DistributedQueueConfiguration configuration,
DistributedQueueState state,
RemoteBrokerInfo remoteBroker,
AsyncHttpClientFactory httpFactory) |
RemoteQueueInfo.Entry(RemoteBrokerInfo broker) |
RemoteQueueInfo.Entry(RemoteBrokerInfo broker,
int weight) |
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.