| Package | Description |
|---|---|
| com.bmc.arsys.apitransport.connection | |
| com.bmc.arsys.apitransport.session |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiProxyManager.addCMTProxyInCMTPool(String mTransactionHandle,
ApiProxyI apiProxyI,
ApiUserContextI apiUserContextI,
String arProxyName,
String cmd,
ApiProxyType proxyType)
add the proxy that handles the client managed transaction in it's pool
this method should only be called in beginClientManagedTransaction before releaseProxy().
|
void |
ApiCMTProxyPool.addCMTProxyInCMTPool(String mTransactionHandle,
ApiProxyI apiProxyI,
ApiUserContextI apiUserContextI,
String arProxyName,
String cmd,
ApiProxyType proxyType)
add the proxy that handles the client managed transaction in it's pool
this method should only be called in beginClientManagedTransaction before releaseProxy().
|
ApiProxyI |
ApiCMTProxyPool.getCMTProxyFromCMTPool(String mTransactionHandle,
ApiUserContextI apiUserContextI,
String arProxyName,
String cmd,
ApiProxyType proxyType)
If multiple clients use the same transaction, they must use the same connection serially
getClientManagedTransactionInPool will lock the key, releaseClientManagedTransactionInPool will release the key
|
ApiProxyI |
ApiProxyManagerI.getProxy(ApiUserContextI apiUserContextI,
Class<? extends ApiProxyI> proxyJRpcClazz,
String apiCmdName,
ApiProxyType rpcType) |
ApiProxyI |
ApiProxyManager.getProxy(ApiUserContextI context,
Class<? extends ApiProxyI> proxyJRpcClazz,
String apiCmdName,
ApiProxyType rpcType)
Get a proxy instance based on proxyJRpcClazz (used if the class is in a child class loader, such as DVM)
|
ApiProxyI |
ApiProxyManagerI.getProxy(ApiUserContextI apiUserContextI,
String proxyJRpcClazzName,
String apiCmdName,
ApiProxyType rpcType) |
ApiProxyI |
ApiProxyManager.getProxy(ApiUserContextI context,
String proxyJRpcClazzName,
String apiCmdName,
ApiProxyType rpcType)
Get a proxy instance which could be AR or CMDB proxy, base on ProxyJrpcClazzName.
|
boolean |
ApiCMTProxyPool.releaseCMTProxyBackInCMTPool(String mTransactionHandle,
ApiProxyI apiProxyI,
ApiUserContextI apiUserContextI,
String arProxyName,
String cmd,
ApiProxyType proxyType)
release the proxy that handles the client managed transaction back into it's pool
1.
|
void |
ApiProxyManagerI.releaseProxy(ApiProxyI proxy,
ApiUserContextI context,
Class<? extends ApiProxyI> proxyJRpcClazz,
String apiCmdName,
ApiProxyType rpcType) |
void |
ApiProxyManager.releaseProxy(ApiProxyI proxy,
ApiUserContextI context,
Class<? extends ApiProxyI> proxyJRpcClazz,
String apiCmdName,
ApiProxyType rpcType)
Release the proxy to corresponding pool based on proxyJRpcClazz (used if the class is in a child class loader, such as DVM)
|
void |
ApiProxyManagerI.releaseProxy(ApiProxyI proxy,
ApiUserContextI context,
String proxyJRpcClazzName,
String apiCmdName,
ApiProxyType rpcType) |
void |
ApiProxyManager.releaseProxy(ApiProxyI proxy,
ApiUserContextI context,
String proxyJRpcClazzName,
String apiCmdName,
ApiProxyType rpcType)
Release the proxy to corresponding pool based on proxyJRpcClazzName
|
boolean |
ApiProxyManager.removeCMTProxyFromCMTPool(String mTransactionHandle,
ApiProxyI apiProxyI,
ApiUserContextI apiUserContextI,
String arProxyName,
String cmd,
ApiProxyType proxyType)
this method should only be called in endClientManagedTransaction before releaseProxy().
|
boolean |
ApiCMTProxyPool.removeCMTProxyFromCMTPool(String mTransactionHandle,
ApiProxyI apiProxyI,
ApiUserContextI apiUserContextI,
String arProxyName,
String cmd,
ApiProxyType proxyType)
this method should only be called in endClientManagedTransaction before releaseProxy().
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApiThreadLocalStorageBlock.setRpcTypeWithProxyClass(ApiUserContextBase context,
String cmd,
Class<? extends ApiProxyI> proxyJRpcClazz,
ApiProxyType proxyType) |
? Copyright 2013 BMC Software, Inc.