de.saar.chorus.ubench
Class ServerOptions

Object
  extended by ServerOptions

public class ServerOptions
extends Object

Class storing the server options set in Ubench.

Author:
Michaela Regneri

Constructor Summary
ServerOptions()
           
 
Method Summary
static PrintWriter getLogwriter()
           
static int getPort()
           
static boolean isLogging()
           
static boolean isWarmup()
           
static void setLogging(boolean logging)
           
static void setLogwriter(PrintWriter logwriter)
           
static void setPort(int port)
           
static void setWarmup(boolean warmup)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerOptions

public ServerOptions()
Method Detail

isLogging

public static boolean isLogging()
Returns:
Returns the logging.

setLogging

public static void setLogging(boolean logging)
Parameters:
logging - The logging to set.

getLogwriter

public static PrintWriter getLogwriter()
Returns:
Returns the logwriter.

setLogwriter

public static void setLogwriter(PrintWriter logwriter)
Parameters:
logwriter - The logwriter to set.

getPort

public static int getPort()
Returns:
Returns the port.

setPort

public static void setPort(int port)
Parameters:
port - The port to set.

isWarmup

public static boolean isWarmup()
Returns:
Returns the warmup.

setWarmup

public static void setWarmup(boolean warmup)
Parameters:
warmup - The warmup to set.