private void start(final Process process,final String pHostName,final Timestamp pStartupTime){
  ProcessCacheObject processCacheObject=(ProcessCacheObject)process;
  if (!isRunning(processCacheObject)) {
    final Long newPIK=createProcessPIK();
    processCacheObject.setCurrentHost(pHostName);
    processCacheObject.setStartupTime(pStartupTime);
    processCacheObject.setRequiresReboot(Boolean.FALSE);
    processCacheObject.setProcessPIK(newPIK);
    processCacheObject.setLocalConfig(LocalConfig.Y);
    processCacheObject.setJmsDaqCommandQueue(jmsDaqQueueTrunk + ".command." + processCacheObject.getCurrentHost()+ "."+ processCacheObject.getName()+ "."+ newPIK.toString());
    super.start(processCacheObject,pStartupTime);
  }
}

private void start ( final Process process , final String pHostName , final Timestamp pStartupTime ) { ProcessCacheObject processCacheObject = ( ProcessCacheObject ) process ; if ( ! isRunning ( processCacheObject ) ) { final Long newPIK = createProcessPIK ( ) ; processCacheObject . setCurrentHost ( pHostName ) ; processCacheObject . setStartupTime ( pStartupTime ) ; processCacheObject . setRequiresReboot ( Boolean . FALSE ) ; processCacheObject . setProcessPIK ( newPIK ) ; processCacheObject . setLocalConfig ( LocalConfig . Y ) ; processCacheObject . setJmsDaqCommandQueue ( jmsDaqQueueTrunk + ".command." + processCacheObject . getCurrentHost ( ) + "." + processCacheObject . getName ( ) + "." + newPIK . toString ( ) ) ; super . start ( processCacheObject , pStartupTime ) ; } }
records the start up time of the process and the host it is running on , ( and sets it ' s status to startup - may remove this in the future as duplicate of state tag of the daq ) < p > also starts the alive timer . < p > please note , that in case of a cache reference to the process it is up to the calling method to acquire a write lock . in case of a copy it is the calling method that has to take care of committing the changes made to the process object back to the cache .
