|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.server.cluster.ServerConfig
@Configurable public class ServerConfig
ServletContainer configration from the
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
setSendfileEnable(boolean isEnable)
void
setSendfileMinLength(Bytes bytes)
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)
Method Detail
setMemoryFreeMin
@Configurable
public void setMemoryFreeMin(Bytes min)
setPermGenFreeMin
@Configurable
public void setPermGenFreeMin(Bytes min)
setShutdownWaitMax
@Configurable
public void setShutdownWaitMax(Period waitTime)
setThreadMax
@Configurable
public void setThreadMax(int max)
setThreadExecutorTaskMax
@Configurable
public void setThreadExecutorTaskMax(int max)
setSendfileEnable
@Configurable
public void setSendfileEnable(boolean isEnable)
setSendfileMinLength
@Configurable
public void setSendfileMinLength(Bytes bytes)
addBuilderProgram
public void addBuilderProgram(ConfigProgram program)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD