Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
FetcherThread(Configuration conf,
AtomicInteger activeThreads,
FetchItemQueues fetchQueues,
QueueFeeder feeder,
AtomicInteger spinWaiting,
AtomicLong lastRequestStart,
Mapper.Context context,
AtomicInteger errors,
String segmentName,
boolean parsing,
boolean storingContent,
AtomicInteger pages,
AtomicLong bytes) |
Modifier and Type | Method and Description |
---|---|
String |
getReprUrl() |
boolean |
isHalted() |
void |
run() |
void |
setHalted(boolean halted) |
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
public FetcherThread(Configuration conf, AtomicInteger activeThreads, FetchItemQueues fetchQueues, QueueFeeder feeder, AtomicInteger spinWaiting, AtomicLong lastRequestStart, Mapper.Context context, AtomicInteger errors, String segmentName, boolean parsing, boolean storingContent, AtomicInteger pages, AtomicLong bytes)
Copyright © 2021 The Apache Software Foundation