|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.buffer.BufferManagerFactory
public class BufferManagerFactory
Factory for BufferManager instances. One method will get a server buffer manager, as it should be instantiated in a running MetaMatrix server. That BufferManager is configured mostly by the passed in properties.
The other method returns a stand-alone, in-memory buffer manager. This is typically used for either in-memory testing or any time the query processor component is not expected to run out of memory, such as within the modeler.
Constructor Summary | |
---|---|
BufferManagerFactory()
|
Method Summary | |
---|---|
static BufferManager |
getServerBufferManager(java.lang.String lookup,
java.util.Properties props)
Helper to get a buffer manager all set up for unmanaged standalone use. |
static BufferManager |
getStandaloneBufferManager()
Helper to get a buffer manager all set up for unmanaged standalone use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferManagerFactory()
Method Detail |
---|
public static BufferManager getStandaloneBufferManager() throws MetaMatrixComponentException
MetaMatrixComponentException
public static BufferManager getServerBufferManager(java.lang.String lookup, java.util.Properties props) throws MetaMatrixComponentException
lookup
- Lookup implementation to useprops
- Configuration properties
MetaMatrixComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |