| Package | Description |
|---|---|
| com.vesoft.nebula.client.graph.net |
| Modifier and Type | Method and Description |
|---|---|
SyncConnection |
ConnObjectPool.create() |
protected SyncConnection |
NebulaPool.getConnection() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.pool2.PooledObject<SyncConnection> |
ConnObjectPool.wrap(SyncConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NebulaPool.returnConnection(SyncConnection connection)
Return the connection to object pool
|
protected void |
NebulaPool.setInvalidateConnection(SyncConnection connection)
Set the connection is invalidate, and the object pool will destroy it
|
org.apache.commons.pool2.PooledObject<SyncConnection> |
ConnObjectPool.wrap(SyncConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnObjectPool.activateObject(org.apache.commons.pool2.PooledObject<SyncConnection> p) |
void |
ConnObjectPool.destroyObject(org.apache.commons.pool2.PooledObject<SyncConnection> p) |
boolean |
ConnObjectPool.validateObject(org.apache.commons.pool2.PooledObject<SyncConnection> p) |
| Constructor and Description |
|---|
Session(SyncConnection connection,
AuthResult authResult,
NebulaPool connPool,
Boolean retryConnect)
Constructor
|
Copyright © 2022. All rights reserved.