|
Remote System Explorer DataStore Release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.eclipse.dstore.core.server.SecuredThread
org.eclipse.dstore.core.miners.MinerThread
public abstract class MinerThread
MinerThread is a utility class used for doing threaded operations in a miner.
| Field Summary | |
|---|---|
protected boolean |
_isCancelled
|
| Fields inherited from class org.eclipse.dstore.core.server.SecuredThread |
|---|
_dataStore |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
MinerThread()
Constructor |
|
MinerThread(DataStore dataStore)
Constructor with dataStore. |
|
| Method Summary | |
|---|---|
abstract void |
cleanupThread()
Implement this method to provide any cleanup that is required after all the work is done. |
abstract boolean |
doThreadedWork()
Implement this method to provide the work implementation of this thread. |
abstract void |
initializeThread()
Implement this method to provide initialization of this thread. |
void |
run()
runs the thread |
void |
stopThread()
stops the thread |
| Methods inherited from class org.eclipse.dstore.core.server.SecuredThread |
|---|
setDataStore |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean _isCancelled
| Constructor Detail |
|---|
public MinerThread()
public MinerThread(DataStore dataStore)
| Method Detail |
|---|
public void stopThread()
public void run()
run in interface Runnablerun in class SecuredThreadpublic abstract void initializeThread()
public abstract boolean doThreadedWork()
public abstract void cleanupThread()
|
Remote System Explorer DataStore Release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||