@Deprecated public interface BridgeManagerService
bridge.xml file,
it is entirely possible to write an own bridge configuration mechanism with that
manager in your plugin.
| Modifier and Type | Method and Description |
|---|---|
void |
addBridge(Bridge bridge)
Deprecated.
IMPORTANT: HiveMQ 3.0 does not support Bridging, so this service only works for HiveMQ 2.x
|
com.google.common.base.Optional<State> |
getBridgeState(Bridge bridge)
Deprecated.
IMPORTANT: HiveMQ 3.0 does not support Bridging, so this service only works for HiveMQ 2.x
|
Collection<Bridge> |
listBridges()
Deprecated.
IMPORTANT: HiveMQ 3.0 does not support Bridging, so this service only works for HiveMQ 2.x
|
void |
removeBridge(Bridge bridge)
Deprecated.
IMPORTANT: HiveMQ 3.0 does not support Bridging, so this service only works for HiveMQ 2.x
|
com.google.common.util.concurrent.ListenableFuture<Void> |
startBridge(Bridge bridge)
Deprecated.
IMPORTANT: HiveMQ 3.0 does not support Bridging, so this service only works for HiveMQ 2.x
|
com.google.common.util.concurrent.ListenableFuture<List<Void>> |
stopAllBridges()
Deprecated.
IMPORTANT: HiveMQ 3.0 does not support Bridging, so this service only works for HiveMQ 2.x
|
com.google.common.util.concurrent.ListenableFuture<Void> |
stopBridge(Bridge bridge)
Deprecated.
IMPORTANT: HiveMQ 3.0 does not support Bridging, so this service only works for HiveMQ 2.x
|
@Deprecated void addBridge(Bridge bridge)
Bridge to the bridge manager. The bridge won't be started
but can be listed.bridge - the bridge to add to the bridge manager.@Deprecated void removeBridge(Bridge bridge)
stopBridge
method before removing the bridge.
If the passed bridge to remove doesn't exist, nothing will happen.bridge - the bridge to stop (if running) and remove@Deprecated com.google.common.util.concurrent.ListenableFuture<Void> startBridge(Bridge bridge)
ListenableFuture to decide if you want to block until the bridge is started
or if you want to use a reactive programming pattern.
Note, that you can start a LAZY bridge manually with this method without waiting for
passing the configured threshold. Also, you can reconnect disconnected bridges with
bridge mode ONCE.bridge - the bridge to startListenableFuture which you can use to block or use to react
when the bridge started@Deprecated com.google.common.util.concurrent.ListenableFuture<Void> stopBridge(Bridge bridge)
removeBridge method.
This method stops the bridge asynchronously. You can use the returned
ListenableFuture to decide if you want to block until the bridge is stopped
or if you want to use a reactive programming pattern.bridge - the bridge to stopListenableFuture which you can use to block or use to react
when the bridge stopped@Deprecated Collection<Bridge> listBridges()
Collection of all bridges registered to this bridge manager.Collection of all bridges registered to this bridge manager@Deprecated com.google.common.util.concurrent.ListenableFuture<List<Void>> stopAllBridges()
ListenableFuture to decide if you want to block until all bridges are stopped
or if you want to use a reactive programming pattern.ListenableFuture which you can use to block or use to react
when all bridges are stopped@Deprecated com.google.common.base.Optional<State> getBridgeState(Bridge bridge)
bridge - the bridge to check the state for.Optional with the state for a bridge.Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.