Package net.grinder.common.processidentity

Examples of net.grinder.common.processidentity.WorkerIdentity


        throw new EngineException("No control stream from agent");
      }

      final GrinderProperties properties = m_initialisationMessage.getProperties();

      final WorkerIdentity workerIdentity = m_initialisationMessage.getWorkerIdentity();

      final String workerName = workerIdentity.getName();
      final String logDirectory = properties.getProperty(GrinderProperties.LOG_DIRECTORY, ".");

      m_terminalLogger = LoggerFactory.getLogger(workerName);

      m_reportTimesToConsole = properties.getBoolean("grinder.reportTimesToConsole", true);
View Full Code Here


      final GrinderProperties properties = m_initialisationMessage.getProperties();

      final ScriptEngineContainer scriptEngineContainer = new ScriptEngineContainer(properties, m_logger,
          DCRContextImplementation.create(m_logger), m_initialisationMessage.getScript());

      final WorkerIdentity workerIdentity = m_initialisationMessage.getWorkerIdentity();

      final StringBuilder numbers = new StringBuilder("worker process ");

      numbers.append(workerIdentity.getNumber());

      final int agentNumber = workerIdentity.getAgentIdentity().getNumber();

      if (agentNumber >= 0) {
        numbers.append(" of agent number ");
        numbers.append(agentNumber);
      }
View Full Code Here

TOP

Related Classes of net.grinder.common.processidentity.WorkerIdentity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.