|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--com.ibm.gcs.component.GCSThread
This is the basic Thread
model for the
worker threads in the Crawler
and Summarizer
.
GCSThreads are grouped in a GCSThreadGroup
,
with a GCSThreadGroupEvent
model for interrupting and stopping the group.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
GCSThread(GCSThreadGroup gct)
(constructor) |
|
GCSThread(java.lang.String name,
GCSThreadGroup gct)
(constructor) |
Method Summary | |
static GCSThread |
currentGCSThread()
get the GCSThread that is currently running |
static GCSThreadGroup |
currentGCSThreadGroup()
get the GCSThreadGroup that contains the currently running GCSThread |
static int |
currentGCSThreadIndex()
get the index of the current GCSThread in its GCSThreadGroup |
static void |
decrAwakeCount()
decrease the number of awake threads in the current GCSThreadGroup |
int |
GCSThreadIndex()
get the index of the current GCSThread in its GCSThreadGroup |
static int |
getAwakeCount()
count the number of awake threads in the current GCSThreadGroup |
GCSThreadGroup |
getGCSThreadGroup()
get the GCSThreadGroup that contains the currently running GCSThread |
static void |
incrAwakeCount()
increase the number of awake threads in the current GCSThreadGroup |
static void |
Synchronize()
synchronize the current GCSThreadGroup |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GCSThread(java.lang.String name, GCSThreadGroup gct)
public GCSThread(GCSThreadGroup gct)
Method Detail |
public static final GCSThread currentGCSThread()
public final GCSThreadGroup getGCSThreadGroup()
public static final GCSThreadGroup currentGCSThreadGroup()
public final int GCSThreadIndex()
GCSThreadGroup
public static final int currentGCSThreadIndex()
GCSThreadGroup
public static final void Synchronize()
GCSThreadGroup
public static final int getAwakeCount()
GCSThreadGroup
public static final void incrAwakeCount()
GCSThreadGroup
public static final void decrAwakeCount()
GCSThreadGroup
|
EIP Web Crawler APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |