public class PooledRPCClientFactory extends Object
Constructor and Description |
---|
PooledRPCClientFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
close()
Close the factory and its pools
|
static PoolConfiguration |
getPoolConfiguration()
Get the current configuration
|
static PoolStatistics |
getPoolStatistics(String hostName,
String channelName)
Get a pool statistics for a pool that contains the rpc clients for a hostname and a channel name
|
static org.epics.pvaccess.client.rpc.RPCClient |
getRPCClient(String hostName,
String channelName)
Get a pooled rpc client
|
static void |
resetConfiguration() |
static void |
setPoolConfiguration(PoolConfiguration poolConfig)
Override the default configuration with a new one
|
static void |
setPoolConfiguration(String poolConfigAsPropertiesText)
Set pool configuration from text (in java properties format)
|
public static void setPoolConfiguration(PoolConfiguration poolConfig)
poolConfig
- public static void setPoolConfiguration(String poolConfigAsPropertiesText) throws IOException
poolConfigAsPropertiesText
- IOException
public static PoolConfiguration getPoolConfiguration()
public static org.epics.pvaccess.client.rpc.RPCClient getRPCClient(String hostName, String channelName) throws org.epics.pvaccess.server.rpc.RPCRequestException
hostName
- channelName
- org.epics.pvaccess.server.rpc.RPCRequestException
public static PoolStatistics getPoolStatistics(String hostName, String channelName)
hostName
- channelName
- public static void close()
public static void resetConfiguration()
Copyright © 2010–2015. All rights reserved.