| Modifier and Type | Field and Description |
|---|---|
static int |
jtfASSIGN
Started but thread has not yet started
|
static int |
jtfDONE
Terminated and released.
|
static int |
jtfIDLE
Idle and available for a job
|
static int |
jtfRUNNING
Currently running
|
static int |
jtfTERM
Terminated but not yet released
|
protected JanitorTask |
m_jt
The janitor task executing in this thread
|
protected int |
m_slot
The slot number for this Janitor Thread
|
| Constructor and Description |
|---|
JanitorThread(Janitor j,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignTask(JanitorTask jt) |
protected boolean |
hasState(int state) |
void |
run()
The main thread entry for the job...
|
protected void |
setState(int state) |
public static final int jtfIDLE
public static final int jtfASSIGN
public static final int jtfRUNNING
public static final int jtfTERM
public static final int jtfDONE
protected JanitorTask m_jt
protected int m_slot
public JanitorThread(Janitor j, int slot)
protected boolean hasState(int state)
protected void setState(int state)
public void assignTask(JanitorTask jt)
Copyright © 2017 etc.to. All rights reserved.