public class ConnectionInfo extends Object
ConnectionInfo stored the jdbc connection info, the connection info contains db type, host, port, database
name.| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.