Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected AtomicBoolean |
running |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier | Constructor and Description |
---|---|
protected |
RetrieveRunner() |
|
RetrieveRunner(R66Session session) |
Modifier and Type | Method and Description |
---|---|
int |
getLocalId() |
void |
notStartRunner()
When submit RetrieveRunner cannot be done since Executor is already stopped
|
void |
run() |
void |
stopRunner()
Try to stop the runner
|
static io.netty.channel.ChannelFuture |
writeWhenPossible(DataBlock block,
LocalChannelReference localChannelReference,
FilesystemBasedDigest digestGlobal,
FilesystemBasedDigest digestBlock)
Write the next block when the channel is ready to prevent OOM
|
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, yield
protected final AtomicBoolean running
protected RetrieveRunner()
public RetrieveRunner(R66Session session)
session
- public final void stopRunner()
public static io.netty.channel.ChannelFuture writeWhenPossible(DataBlock block, LocalChannelReference localChannelReference, FilesystemBasedDigest digestGlobal, FilesystemBasedDigest digestBlock) throws OpenR66ProtocolPacketException
block
- localChannelReference
- digestGlobal
- digestBlock
- OpenR66ProtocolPacketException
public final int getLocalId()
public final void notStartRunner()
Copyright © 2009–2022 Waarp. All rights reserved.