public class ConnectionInfo extends Object
ConnectionInfo stored the jdbc connection info, the connection info contains db type, host, port, database
name.| Constructor and Description |
|---|
ConnectionInfo(org.apache.skywalking.apm.network.trace.component.OfficialComponent component,
String dbType,
String host,
int port,
String databaseName) |
ConnectionInfo(org.apache.skywalking.apm.network.trace.component.OfficialComponent component,
String dbType,
String hosts,
String databaseName) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.skywalking.apm.network.trace.component.OfficialComponent |
getComponent() |
String |
getDatabaseName() |
String |
getDatabasePeer() |
String |
getDBType() |
void |
setDatabaseName(String dataBaseName) |
public ConnectionInfo(org.apache.skywalking.apm.network.trace.component.OfficialComponent component,
String dbType,
String host,
int port,
String databaseName)
public String getDBType()
public String getDatabaseName()
public String getDatabasePeer()
public org.apache.skywalking.apm.network.trace.component.OfficialComponent getComponent()
public void setDatabaseName(String dataBaseName)
Copyright © 2018 The Apache Software Foundation. All rights reserved.