@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)
ConnectorRegistry
registerOutgoingConnector
in interface ConnectorRegistry
public java.util.Collection<TopologyConnectorClientInformation> listOutgoingConnectors()
ConnectorRegistry
listOutgoingConnectors
in interface ConnectorRegistry
public boolean unregisterOutgoingConnector(java.lang.String id)
ConnectorRegistry
unregisterOutgoingConnector
in interface ConnectorRegistry
public void pingOutgoingConnectors(boolean force)
ConnectorRegistry
pingOutgoingConnectors
in interface ConnectorRegistry
Copyright © 2022 The Apache Software Foundation. All rights reserved.