com.metamatrix.dqp.embedded.services
Class EmbeddedBufferService

java.lang.Object
  extended by com.metamatrix.dqp.embedded.services.EmbeddedBaseDQPService
      extended by com.metamatrix.dqp.embedded.services.EmbeddedBufferService
All Implemented Interfaces:
ApplicationService, BufferService

public class EmbeddedBufferService
extends EmbeddedBaseDQPService
implements BufferService

Implement the BufferService for the DQP Embedded component. This implementation may use either an all-memory model (which is prone to OutOfMemoryErrors) or a mixed disk/memory model which requires use of a directory on the disk for file service access.


Field Summary
 
Fields inherited from class com.metamatrix.dqp.embedded.services.EmbeddedBaseDQPService
SYSTEM_PHYSICAL_MODEL_NAME
 
Constructor Summary
EmbeddedBufferService()
           
 
Method Summary
 BufferManager getBufferManager()
           
 org.teiid.dqp.internal.cache.DQPContextCache getContextCache()
           
 void initializeService(java.util.Properties props)
           
 void startService(ApplicationEnvironment environment)
           
 void stopService()
           
 
Methods inherited from class com.metamatrix.dqp.embedded.services.EmbeddedBaseDQPService
getConfigurationService, initialize, isStarted, isValidVDB, lookupService, start, stop, vdbId, vdbId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.metamatrix.common.application.ApplicationService
initialize, start, stop
 

Constructor Detail

EmbeddedBufferService

public EmbeddedBufferService()
Method Detail

initializeService

public void initializeService(java.util.Properties props)
                       throws ApplicationInitializationException
Specified by:
initializeService in class EmbeddedBaseDQPService
Parameters:
props -
Throws:
ApplicationInitializationException

startService

public void startService(ApplicationEnvironment environment)
                  throws ApplicationLifecycleException
Specified by:
startService in class EmbeddedBaseDQPService
Throws:
ApplicationLifecycleException

stopService

public void stopService()
                 throws ApplicationLifecycleException
Specified by:
stopService in class EmbeddedBaseDQPService
Throws:
ApplicationLifecycleException

getBufferManager

public BufferManager getBufferManager()
Specified by:
getBufferManager in interface BufferService

getContextCache

public org.teiid.dqp.internal.cache.DQPContextCache getContextCache()
Specified by:
getContextCache in interface BufferService


Copyright © 2009. All Rights Reserved.