@Service(value=ConnectorRegistry.class) public class ConnectorRegistryImpl extends java.lang.Object implements ConnectorRegistry
| Constructor and Description |
|---|
ConnectorRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext cc) |
protected void |
deactivate() |
java.util.Collection<TopologyConnectorClientInformation> |
listOutgoingConnectors()
Lists all outgoing topology connectors
|
void |
pingOutgoingConnectors(boolean force)
ping all outgoing topology connectors
|
TopologyConnectorClientInformation |
registerOutgoingConnector(ClusterViewService clusterViewService,
java.net.URL connectorUrl)
Register an outgoing topology connector using the provided endpoint url
|
static ConnectorRegistry |
testConstructor(AnnouncementRegistry announcementRegistry,
BaseConfig config) |
boolean |
unregisterOutgoingConnector(java.lang.String id)
Unregister an outgoing topology connector identified by the given (connector) id
|
public static ConnectorRegistry testConstructor(AnnouncementRegistry announcementRegistry, BaseConfig config)
@Activate protected void activate(org.osgi.service.component.ComponentContext cc)
@Deactivate protected void deactivate()
public TopologyConnectorClientInformation registerOutgoingConnector(ClusterViewService clusterViewService, java.net.URL connectorUrl)
ConnectorRegistryregisterOutgoingConnector in interface ConnectorRegistrypublic java.util.Collection<TopologyConnectorClientInformation> listOutgoingConnectors()
ConnectorRegistrylistOutgoingConnectors in interface ConnectorRegistrypublic boolean unregisterOutgoingConnector(java.lang.String id)
ConnectorRegistryunregisterOutgoingConnector in interface ConnectorRegistrypublic void pingOutgoingConnectors(boolean force)
ConnectorRegistrypingOutgoingConnectors in interface ConnectorRegistryCopyright © 2018 The Apache Software Foundation. All rights reserved.