Package org.compiere.server
Class ReplicationProcessor
- java.lang.Object
-
- org.compiere.server.AdempiereServer
-
- org.compiere.server.ReplicationProcessor
-
- All Implemented Interfaces:
Runnable
public class ReplicationProcessor extends AdempiereServer
- Author:
- Trifon N. Trifonov
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isProcessRunning
flag showing if process is working!protected MClient
m_client
Client infoprotected StringBuffer
m_summary
Last Summaryprotected MIMPProcessor
mImportProcessor
-
Fields inherited from class org.compiere.server.AdempiereServer
log, m_sleepMS, m_start, p_client, p_model, p_runCount, p_startWork, p_system
-
-
Constructor Summary
Constructors Constructor Description ReplicationProcessor(AdempiereProcessor model)
ReplicationProcessor(AdempiereProcessor model, int initialNap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doWork()
Do the actual Workprotected int
getAD_User_ID()
MIMPProcessor
getMImportProcessor()
String
getServerInfo()
Get Server Infoboolean
isProcessRunning()
void
setMImportProcessor(MIMPProcessor importProcessor)
void
setProcessRunning(boolean isProcessRunning)
-
Methods inherited from class org.compiere.server.AdempiereServer
doRun, doRunNow, getCtx, getDateLastRun, getDateNextRun, getDescription, getInitialNap, getLogs, getModel, getName, getSecondsAlive, getServerID, getSleepMS, getStartTime, getStatistics, isInterrupted, isOKtoRunOnIP, isSleeping, recalculateSleepMS, run, runNow, toString
-
-
-
-
Field Detail
-
m_summary
protected StringBuffer m_summary
Last Summary
-
m_client
protected MClient m_client
Client info
-
mImportProcessor
protected MIMPProcessor mImportProcessor
-
isProcessRunning
protected boolean isProcessRunning
flag showing if process is working!
-
-
Constructor Detail
-
ReplicationProcessor
public ReplicationProcessor(AdempiereProcessor model, int initialNap)
-
ReplicationProcessor
public ReplicationProcessor(AdempiereProcessor model)
-
-
Method Detail
-
doWork
protected void doWork()
Description copied from class:AdempiereServer
Do the actual Work- Specified by:
doWork
in classAdempiereServer
-
getAD_User_ID
protected int getAD_User_ID()
-
getServerInfo
public String getServerInfo()
Description copied from class:AdempiereServer
Get Server Info- Specified by:
getServerInfo
in classAdempiereServer
- Returns:
- info
-
isProcessRunning
public boolean isProcessRunning()
- Returns:
- the isProcessRunning
-
setProcessRunning
public void setProcessRunning(boolean isProcessRunning)
- Parameters:
isProcessRunning
- the isProcessRunning to set
-
getMImportProcessor
public MIMPProcessor getMImportProcessor()
- Returns:
- the mImportProcessor
-
setMImportProcessor
public void setMImportProcessor(MIMPProcessor importProcessor)
- Parameters:
importProcessor
- the mImportProcessor to set
-
-