
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description | 
|---|---|
| static ConcurrentLinkedQueue<ClientRunner> | activeRunners | 
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
| ClientRunner(NetworkTransaction networkTransaction,
            DbTaskRunner taskRunner,
            R66Future futureRequest) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | changeUpdatedInfo(AbstractDbData.UpdatedInfo info,
                 ErrorCode code,
                 boolean force)Change the UpdatedInfo of the current runner | 
| R66Future | finishTransfer(LocalChannelReference localChannelReference)Finish the transfer (called at the end of runTransfer) | 
| LocalChannelReference | getLocalChannelReference() | 
| NetworkTransaction | getNetworkTransaction() | 
| boolean | getSendThroughMode() | 
| DbTaskRunner | getTaskRunner() | 
| static String | hashStatus() | 
| boolean | incrementTaskRunnerTry(DbTaskRunner runner,
                      int limit) | 
| LocalChannelReference | initRequest()Initialize the request | 
| boolean | isLimitRetryConnection() | 
| static boolean | isRecvHandlerJunit() | 
| void | run() | 
| R66Future | runTransfer()True transfer run (can be called directly to enable exception outside any
 executors) | 
| void | setLimitRetryConnection(boolean limitRetryConnection) | 
| static void | setRecvHandlerJunit(RecvThroughHandler handler) | 
| void | setRecvThroughHandler(RecvThroughHandler handler) | 
| void | setSendThroughMode() | 
| R66Future | tryAgainTransferOnOverloaded(boolean retry,
                            LocalChannelReference localChannelReference)In case an overloaded signal is returned by the requested | 
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static ConcurrentLinkedQueue<ClientRunner> activeRunners
public ClientRunner(NetworkTransaction networkTransaction, DbTaskRunner taskRunner, R66Future futureRequest)
public static void setRecvHandlerJunit(RecvThroughHandler handler)
public static boolean isRecvHandlerJunit()
public static String hashStatus()
public final NetworkTransaction getNetworkTransaction()
public final DbTaskRunner getTaskRunner()
public final LocalChannelReference getLocalChannelReference()
public final boolean incrementTaskRunnerTry(DbTaskRunner runner, int limit)
runner - limit - public final R66Future runTransfer() throws OpenR66RunnerErrorException, OpenR66ProtocolNoConnectionException, OpenR66ProtocolPacketException, OpenR66ProtocolNotYetConnectionException
OpenR66RunnerErrorExceptionOpenR66ProtocolNoConnectionExceptionOpenR66ProtocolPacketExceptionOpenR66ProtocolNotYetConnectionExceptionpublic final R66Future tryAgainTransferOnOverloaded(boolean retry, LocalChannelReference localChannelReference) throws OpenR66RunnerErrorException, OpenR66ProtocolNoConnectionException, OpenR66ProtocolPacketException, OpenR66ProtocolNotYetConnectionException
retry - if True, it will retry in case of overloaded remote
     server, else it just stopslocalChannelReference - OpenR66RunnerErrorExceptionOpenR66ProtocolNoConnectionExceptionOpenR66ProtocolPacketExceptionOpenR66ProtocolNotYetConnectionExceptionpublic final R66Future finishTransfer(LocalChannelReference localChannelReference)
localChannelReference - public final LocalChannelReference initRequest() throws OpenR66ProtocolNoConnectionException, OpenR66ProtocolPacketException, OpenR66ProtocolNotYetConnectionException
OpenR66ProtocolNoConnectionExceptionOpenR66ProtocolPacketExceptionOpenR66ProtocolNotYetConnectionExceptionpublic final void changeUpdatedInfo(AbstractDbData.UpdatedInfo info, ErrorCode code, boolean force)
info - public final void setRecvThroughHandler(RecvThroughHandler handler)
handler - the handler to setpublic final void setSendThroughMode()
public final boolean getSendThroughMode()
public final boolean isLimitRetryConnection()
public final void setLimitRetryConnection(boolean limitRetryConnection)
Copyright © 2009–2022 Waarp. All rights reserved.