public class CoreServerConfigSection extends ConfigSection
Modifier and Type | Field and Description |
---|---|
static 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, setUpdated
public static final 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
- intInvalidConfigurationException
public final void setMemoryPool(int[] pktSizes, int[] initAlloc, int[] maxAlloc) throws InvalidConfigurationException
pktSizes
- Buffer sizes int[]initAlloc
- Initial allocations for each size int[]maxAlloc
- Maximim allocations for each size int[]InvalidConfigurationException
Copyright © 2005–2017 Alfresco Software. All rights reserved.