com.metamatrix.common.buffer.impl
Class BufferConfig
java.lang.Object
com.metamatrix.common.buffer.impl.BufferConfig
public class BufferConfig
- extends java.lang.Object
Encapsulates all configuration information for the BufferManagerImpl,
including both properties that are set and some that are derived.
Constructor Summary |
BufferConfig()
Constructor for BufferConfig - use all defaults |
BufferConfig(java.util.Properties props)
Constructor for BufferConfig - set from properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONNECTOR_BATCH_SIZE
public static int DEFAULT_CONNECTOR_BATCH_SIZE
BufferConfig
public BufferConfig()
- Constructor for BufferConfig - use all defaults
BufferConfig
public BufferConfig(java.util.Properties props)
- Constructor for BufferConfig - set from properties.
- Parameters:
props
- Properties as defined in
BufferManagerPropertyNames
.
getTotalAvailableMemory
public long getTotalAvailableMemory()
setTotalAvailableMemory
public void setTotalAvailableMemory(long totalAvailableMemory)
getGroupUsePercentage
public int getGroupUsePercentage()
setGroupUsePercentage
public void setGroupUsePercentage(int groupUsePercentage)
getActiveMemoryThreshold
public int getActiveMemoryThreshold()
setActiveMemoryThreshold
public void setActiveMemoryThreshold(int activeMemoryThreshold)
getConnectorBatchSize
public int getConnectorBatchSize()
setConnectorBatchSize
public void setConnectorBatchSize(int connectorBatchSize)
getProcessorBatchSize
public int getProcessorBatchSize()
setProcessorBatchSize
public void setProcessorBatchSize(int processorBatchSize)
getManagementInterval
public int getManagementInterval()
setManagementInterval
public void setManagementInterval(int managementInterval)
getBufferStorageDirectory
public java.lang.String getBufferStorageDirectory()
setBufferStorageDirectory
public void setBufferStorageDirectory(java.lang.String bufferStorageDirectory)
getLogStatInterval
public int getLogStatInterval()
setStatUpdateInterval
public void setStatUpdateInterval(int logStatInterval)
getMaxAvailableSession
public long getMaxAvailableSession()
getActiveMemoryLevel
public long getActiveMemoryLevel()
Copyright © 2009. All Rights Reserved.