public class ZooKeeperPartitionBroker extends PartitionBroker
| Modifier and Type | Field and Description |
|---|---|
protected Partitioning |
config |
protected CountDownLatch |
configAcquired |
protected static Logger |
LOG |
protected ZKClient |
zk_client |
monitors, plugin, reloadConfigOnPollnext| Constructor and Description |
|---|
ZooKeeperPartitionBroker(Broker broker,
ZooKeeperPartitionBrokerPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
protected Partitioning |
getConfig() |
protected void |
onMonitorStop() |
protected ZooKeeperPartitionBrokerPlugin |
plugin() |
protected void |
reloadConfiguration() |
void |
start() |
protected void |
zkConnect() |
protected void |
zkDisconnect() |
addConnection, checkTarget, getConnectionString, getTarget, monitorWait, monitorWakeup, onMonitorStart, pickBestBroker, removeConnection, runPartitionMonitor, sendacknowledge, addBroker, addConsumer, addDestination, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getNext, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, stop, virtualDestinationAdded, virtualDestinationRemovedprotected volatile Partitioning config
protected final CountDownLatch configAcquired
public ZooKeeperPartitionBroker(Broker broker, ZooKeeperPartitionBrokerPlugin plugin)
public void start() throws Exception
start in interface org.apache.activemq.Servicestart in class PartitionBrokerExceptionprotected void onMonitorStop()
onMonitorStop in class PartitionBrokerprotected Partitioning getConfig()
getConfig in class PartitionBrokerprotected ZooKeeperPartitionBrokerPlugin plugin()
protected void zkDisconnect()
protected void reloadConfiguration() throws Exception
reloadConfiguration in class PartitionBrokerExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.