com.metamatrix.common.buffer.impl
Class BufferConfig

java.lang.Object
  extended by 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.


Field Summary
static int DEFAULT_CONNECTOR_BATCH_SIZE
           
 
Constructor Summary
BufferConfig()
          Constructor for BufferConfig - use all defaults
BufferConfig(java.util.Properties props)
          Constructor for BufferConfig - set from properties.
 
Method Summary
 long getActiveMemoryLevel()
           
 int getActiveMemoryThreshold()
           
 java.lang.String getBufferStorageDirectory()
           
 int getConnectorBatchSize()
           
 int getGroupUsePercentage()
           
 int getLogStatInterval()
           
 int getManagementInterval()
           
 long getMaxAvailableSession()
           
 int getProcessorBatchSize()
           
 long getTotalAvailableMemory()
           
 void setActiveMemoryThreshold(int activeMemoryThreshold)
           
 void setBufferStorageDirectory(java.lang.String bufferStorageDirectory)
           
 void setConnectorBatchSize(int connectorBatchSize)
           
 void setGroupUsePercentage(int groupUsePercentage)
           
 void setManagementInterval(int managementInterval)
           
 void setProcessorBatchSize(int processorBatchSize)
           
 void setStatUpdateInterval(int logStatInterval)
           
 void setTotalAvailableMemory(long totalAvailableMemory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONNECTOR_BATCH_SIZE

public static int DEFAULT_CONNECTOR_BATCH_SIZE
Constructor Detail

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.
Method Detail

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.