public class RmiCallInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
| Constructor and Description |
|---|
RmiCallInvocationHandler(java.lang.Object delegate,
RmiStubInfo info)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<java.lang.String> |
getAgencies()
Returns which agencies have processed RMI calls for.
|
static int |
getCount(java.lang.String agencyId)
For specified agency returns how many outstanding RMI calls are currently
being processed by the agency server.
|
static int |
getMaxConcurrentCallsPerProject() |
static long |
getTotalCount(java.lang.String agencyId)
Total number of RMI requests sent by this web server to a
particular agency server.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
The invoke() method does all the work.
|
static void |
setMaxConcurrentCallsPerProject(int maxConcurrentCalls)
For if need to change max concurrent calls per project
|
public RmiCallInvocationHandler(java.lang.Object delegate,
RmiStubInfo info)
delegate - info - public static int getMaxConcurrentCallsPerProject()
public static void setMaxConcurrentCallsPerProject(int maxConcurrentCalls)
maxConcurrentCalls - New value for max concurrent calls per projectpublic static java.util.Set<java.lang.String> getAgencies()
public static int getCount(java.lang.String agencyId)
agencyId - public static long getTotalCount(java.lang.String agencyId)
agencyId - public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwable