com.metamatrix.server.dqp.service
Class PlatformBufferService
java.lang.Object
com.metamatrix.server.dqp.service.PlatformBufferService
- All Implemented Interfaces:
- ApplicationService, BufferService
public class PlatformBufferService
- extends java.lang.Object
- implements BufferService
Constructor Summary |
PlatformBufferService(Host host,
java.lang.String processName,
org.teiid.dqp.internal.cache.DQPContextCache cache)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformBufferService
public PlatformBufferService(Host host,
java.lang.String processName,
org.teiid.dqp.internal.cache.DQPContextCache cache)
getBufferManager
public BufferManager getBufferManager()
- Specified by:
getBufferManager
in interface BufferService
initialize
public void initialize(java.util.Properties props)
throws ApplicationInitializationException
- Description copied from interface:
ApplicationService
- Initialize the service with the specified properties.
- Specified by:
initialize
in interface ApplicationService
- Parameters:
props
- Initialialization properties
- Throws:
ApplicationInitializationException
- If an error occurs during initialization
start
public void start(ApplicationEnvironment environment)
throws ApplicationLifecycleException
- Description copied from interface:
ApplicationService
- Start the service with the specified environment. The environment can
be used to find other services or resources.
- Specified by:
start
in interface ApplicationService
- Parameters:
environment
- Environment
- Throws:
ApplicationLifecycleException
- If an error occurs while starting
stop
public void stop()
throws ApplicationLifecycleException
- Description copied from interface:
ApplicationService
- Stop the service.
- Specified by:
stop
in interface ApplicationService
- Throws:
ApplicationLifecycleException
- If an error occurs while starting
getContextCache
public org.teiid.dqp.internal.cache.DQPContextCache getContextCache()
- Specified by:
getContextCache
in interface BufferService
Copyright © 2009. All Rights Reserved.