public class RpcClient extends SocketPool implements InvocationHandler
| Modifier and Type | Field and Description |
|---|---|
protected static byte[][] |
uidLocks |
connectTimeout, host, port, proxy, readTimeout, sslContext, tosclosed, createdCount, fifo, initialCount, keepEmpty, maxCount, timeout, timeouts, waitingThreadsmodCount| Constructor and Description |
|---|
RpcClient(ConnectionString conn) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object request) |
Object |
invoke(Object request,
int timeout) |
Object |
invoke(Object proxy,
Method method,
Object... args) |
protected Object |
invokeServiceRequest(Object request) |
protected void |
provideSerializer(Serializer serializer) |
protected Serializer |
requestSerializer(long uid) |
protected static Object |
uidLockFor(long uid) |
createObject, destroyObject, getBusyCount, getConnectTimeout, getFifo, getIdleCount, getMaxCount, getProxy, getReadTimeout, getTimeout, getTimeouts, getWaitingThreads, name, setConnectTimeout, setFifo, setMaxCount, setProperties, setProxy, setReadTimeout, setTimeoutborrowObject, close, initialize, invalidateAll, invalidateObject, isClosed, returnObjectadd, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitinvalidateAll, isClosedcontainsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subListparallelStream, removeIf, streampublic RpcClient(ConnectionString conn)
public Object invoke(Object proxy, Method method, Object... args) throws Exception
invoke in interface InvocationHandlerExceptionprotected static Object uidLockFor(long uid)
protected void provideSerializer(Serializer serializer) throws Exception
Exceptionprotected Serializer requestSerializer(long uid) throws Exception
ExceptionCopyright © 2019. All rights reserved.