Internal: context tags to (programmatically) identify the context of the execution.

SVN:trunk[4259]
This commit is contained in:
Denis Flaven
2016-06-23 14:57:37 +00:00
parent c177264113
commit 18de167d5e
8 changed files with 91 additions and 2 deletions

View File

@@ -2244,7 +2244,9 @@ class SynchroExecution
protected $m_aReconciliationKeys = array();
protected $m_aAttributes = array();
protected $m_iCountAllReplicas = 0;
protected $m_oCtx;
protected $m_oCtx1;
/**
* Constructor
* @param SynchroDataSource $oDataSource Synchronization task
@@ -2255,6 +2257,8 @@ class SynchroExecution
{
$this->m_oDataSource = $oDataSource;
$this->m_oLastFullLoadStartDate = $oLastFullLoadStartDate;
$this->m_oCtx = new ContextTag('Synchro');
$this->m_oCtx1 = new ContextTag('Synchro:'.$oDataSource->GetRawName()); // More precise context information
}
/**