|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.compiere.process.CompiereServer
public abstract class CompiereServer
Compiere Server Base
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected CLogger |
log
Logger |
protected PO |
p_processor
Processor Instance |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
CompiereServer(String name)
CompiereServer |
|
| Method Summary | |
|---|---|
abstract boolean |
canDoWork()
Is there work for the Worker? |
abstract boolean |
doWork()
Worker - do the work |
Timestamp |
getLastStart()
Get Last Start of Server |
int |
getPollCount()
Get Poll Count |
abstract String |
getProcessorName()
Get Processor Name |
int |
getSleepSeconds()
Get Sleep Seconds |
Timestamp |
getStart()
Get Start of Server |
String |
getStatistics()
Statistics |
int |
getWorkCount()
Get Work Count |
int |
getWorkTime()
Get Working Time |
boolean |
isWorking()
Is Working |
void |
run()
Run - Do the Work |
void |
setProcessor(PO processor)
Set Server Processor |
void |
setSleepSeconds(int sleepSeconds)
Set Sleep Seconds |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, 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, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected CLogger log
protected PO p_processor
| Constructor Detail |
|---|
public CompiereServer(String name)
name - server name| Method Detail |
|---|
public boolean isWorking()
public int getPollCount()
public int getWorkCount()
public int getWorkTime()
public Timestamp getStart()
public Timestamp getLastStart()
public int getSleepSeconds()
public void setSleepSeconds(int sleepSeconds)
sleepSeconds - sleep secondspublic void setProcessor(PO processor)
processor - processorpublic String getStatistics()
public String toString()
toString in class Threadpublic final void run()
run in interface Runnablerun in class ThreadRunnable.run()public abstract String getProcessorName()
public abstract boolean canDoWork()
public abstract boolean doWork()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||