Package | Description |
---|---|
com.perforce.p4java.impl.mapbased.rpc.stream |
Modifier and Type | Method and Description |
---|---|
void |
RpcSocketPool.release(Socket socket,
RpcSocketPool.ShutdownHandler shutdownHandler)
Release a socket back to the pool as no longer using
|
Constructor and Description |
---|
RpcSocketPool(int poolSize,
String host,
int port,
Properties socketProperties,
RpcSocketPool.ShutdownHandler shutdownHandler)
Create a new socket pool with a max pool size, host, port, and socket
properties, and an optional shutdown handler
|
RpcSocketPool(int poolSize,
String host,
int port,
Properties socketProperties,
RpcSocketPool.ShutdownHandler shutdownHandler,
boolean secure)
Create a new socket pool indicating whether it is secure (SSL) or not.
|
Copyright © 2017 Perforce Software. All Rights Reserved.