
public class ORemoteConnectionPool extends java.lang.Object implements OResourcePoolListener<java.lang.String,OChannelBinaryAsynchClient>
| Constructor and Description |
|---|
ORemoteConnectionPool(int iMaxResources) |
| Modifier and Type | Method and Description |
|---|---|
OChannelBinaryAsynchClient |
acquire(java.lang.String iServerURL,
long timeout,
OContextConfiguration clientConfiguration) |
void |
checkIdle(long timeout) |
protected OChannelBinaryAsynchClient |
createNetworkConnection(java.lang.String serverURL,
OContextConfiguration clientConfiguration) |
OChannelBinaryAsynchClient |
createNewResource(java.lang.String iKey,
java.lang.Object... iAdditionalArgs) |
OResourcePool<java.lang.String,OChannelBinaryAsynchClient> |
getPool() |
boolean |
reuseResource(java.lang.String iKey,
java.lang.Object[] iAdditionalArgs,
OChannelBinaryAsynchClient iValue) |
protected OChannelBinaryAsynchClient createNetworkConnection(java.lang.String serverURL, OContextConfiguration clientConfiguration) throws OIOException
OIOExceptionpublic OChannelBinaryAsynchClient createNewResource(java.lang.String iKey, java.lang.Object... iAdditionalArgs)
createNewResource in interface OResourcePoolListener<java.lang.String,OChannelBinaryAsynchClient>public boolean reuseResource(java.lang.String iKey,
java.lang.Object[] iAdditionalArgs,
OChannelBinaryAsynchClient iValue)
reuseResource in interface OResourcePoolListener<java.lang.String,OChannelBinaryAsynchClient>public OResourcePool<java.lang.String,OChannelBinaryAsynchClient> getPool()
public OChannelBinaryAsynchClient acquire(java.lang.String iServerURL, long timeout, OContextConfiguration clientConfiguration)
public void checkIdle(long timeout)
Copyright © 2009–2023 OrientDB. All rights reserved.