public class CoreServerConfigSection extends ConfigSection
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SectionName |
| Constructor and Description |
|---|
CoreServerConfigSection(ServerConfiguration config)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
ByteBufferPool |
getMemoryPool()
Return the global memory pool
|
ThreadRequestPool |
getThreadPool()
Return the global thread request pool
|
void |
setMemoryPool(int[] pktSizes,
int[] initAlloc,
int[] maxAlloc)
Set the memory pool packet sizes/allocations
|
void |
setThreadPool(int initSize,
int maxSize)
Set the thread pool initial and maximum size
|
closeConfig, fireConfigurationChange, getSectionName, getServerConfiguration, isUpdated, setUpdatedpublic static final java.lang.String SectionName
public CoreServerConfigSection(ServerConfiguration config)
config - ServerConfigurationpublic final ThreadRequestPool getThreadPool()
public final ByteBufferPool getMemoryPool()
public final void setThreadPool(int initSize,
int maxSize)
throws InvalidConfigurationException
initSize - intmaxSize - intInvalidConfigurationExceptionpublic final void setMemoryPool(int[] pktSizes,
int[] initAlloc,
int[] maxAlloc)
throws InvalidConfigurationException
Buffer - sizes int[]Initial - allocations for each size int[]Maximim - allocations for each size int[]InvalidConfigurationExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.