com.caucho.server.cluster
Class ServerConfig

java.lang.Object
  extended by com.caucho.server.cluster.ServerConfig

@Configurable
public class ServerConfig
extends java.lang.Object

ServletContainer configration from the tags.


Constructor Summary
ServerConfig(ServletContainerConfig config)
          Creates a new servlet server.
 
Method Summary
 void addBuilderProgram(ConfigProgram program)
           
 void setMemoryFreeMin(Bytes min)
          Sets the minimum free memory after a GC
 void setPermGenFreeMin(Bytes min)
          Sets the minimum free memory after a GC
 void setShutdownWaitMax(Period waitTime)
          Sets the max wait time for shutdown.
 void setThreadExecutorTaskMax(int max)
          Sets the maximum executor (background) thread.
 void setThreadMax(int max)
          Sets the maximum thread-based keepalive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConfig

public ServerConfig(ServletContainerConfig config)
Creates a new servlet server.

Method Detail

setMemoryFreeMin

@Configurable
public void setMemoryFreeMin(Bytes min)
Sets the minimum free memory after a GC


setPermGenFreeMin

@Configurable
public void setPermGenFreeMin(Bytes min)
Sets the minimum free memory after a GC


setShutdownWaitMax

@Configurable
public void setShutdownWaitMax(Period waitTime)
Sets the max wait time for shutdown.


setThreadMax

@Configurable
public void setThreadMax(int max)
Sets the maximum thread-based keepalive


setThreadExecutorTaskMax

@Configurable
public void setThreadExecutorTaskMax(int max)
Sets the maximum executor (background) thread.


addBuilderProgram

public void addBuilderProgram(ConfigProgram program)