
public class ORemoteConnectionManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<String,ORemoteConnectionPool> |
connections |
static String |
PARAM_MAX_POOL |
protected long |
timeout |
| Constructor and Description |
|---|
ORemoteConnectionManager(long iTimeout) |
| Modifier and Type | Method and Description |
|---|---|
OChannelBinaryAsynchClient |
acquire(String iServerURL,
OContextConfiguration clientConfiguration,
Map<String,Object> iConfiguration,
OStorageRemoteAsynchEventListener iListener) |
void |
close() |
protected void |
closePool(ORemoteConnectionPool pool) |
void |
closePool(String url) |
int |
getAvailableConnections(String url) |
int |
getCreatedInstancesInPool(String url) |
int |
getMaxResources(String url) |
ORemoteConnectionPool |
getPool(String url) |
int |
getReusableConnections(String url) |
Set<String> |
getURLs() |
void |
release(OChannelBinaryAsynchClient conn) |
void |
remove(OChannelBinaryAsynchClient conn) |
public static final String PARAM_MAX_POOL
protected final ConcurrentMap<String,ORemoteConnectionPool> connections
protected final long timeout
public void close()
public OChannelBinaryAsynchClient acquire(String iServerURL, OContextConfiguration clientConfiguration, Map<String,Object> iConfiguration, OStorageRemoteAsynchEventListener iListener)
public void release(OChannelBinaryAsynchClient conn)
public void remove(OChannelBinaryAsynchClient conn)
public int getMaxResources(String url)
public int getAvailableConnections(String url)
public int getReusableConnections(String url)
public int getCreatedInstancesInPool(String url)
public void closePool(String url)
protected void closePool(ORemoteConnectionPool pool)
public ORemoteConnectionPool getPool(String url)
Copyright © 2009–2025 OrientDB. All rights reserved.