jaspte
Blame | Last modification | View Log | RSS feed
/**
* =========================================================================
* Bench4Q version 1.2.1
* =========================================================================
*
* Bench4Q is available on the Internet at http://forge.ow2.org/projects/jaspte
* You can find latest version there.
*
* Distributed according to the GNU Lesser General Public Licence.
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or any
* later version.
*
* SEE Copyright.txt FOR FULL COPYRIGHT INFORMATION.
*
* This source code is distributed "as is" in the hope that it will be
* useful. It comes with no warranty, and no author or distributor
* accepts any responsibility for the consequences of its use.
*
*
* This version is a based on the implementation of TPC-W from University of Wisconsin.
* This version used some source code of The Grinder.
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * Initial developer(s): Zhiquan Duan.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
*/
package org.bench4Q.console.communication.server;
import org.bench4Q.agent.rbe.communication.Args;
import org.bench4Q.common.Bench4QProperties;
import org.bench4Q.common.communication.Message;
/**
* Message indicating that all worker processes should be started.
*/
public class StartWorkerProcessesMessage implements Message {
private static final long serialVersionUID = 1;
/** @serial Properties to use to start the worker processes. */
private final Bench4QProperties m_properties;
private final Args m_args;
/**
* Constructor.
*
* @param properties
* Properties that override the agents' local properties.
* @param args
*/
public StartWorkerProcessesMessage(Bench4QProperties properties, Args args) {
m_args = args;
m_properties = properties;
}
/**
* Accessor for the properties.
*
* @return The properties.
*/
public Bench4QProperties getProperties() {
return m_properties;
}
/**
* @return
*/
public Args getArgs() {
return m_args;
}
}