org.teiid.jboss.deployers
Class RuntimeEngineDeployer

java.lang.Object
  extended by org.teiid.dqp.internal.process.DQPConfiguration
      extended by org.teiid.jboss.deployers.RuntimeEngineDeployer
All Implemented Interfaces:
java.io.Serializable, DQPManagement, ClientServiceRegistry

public class RuntimeEngineDeployer
extends org.teiid.dqp.internal.process.DQPConfiguration
implements DQPManagement, java.io.Serializable, ClientServiceRegistry

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.teiid.dqp.internal.process.DQPConfiguration
DEFAULT_MAX_ACTIVE_PLANS, DEFAULT_MAX_PROCESS_WORKERS, DEFAULT_MAX_SOURCE_ROWS
 
Constructor Summary
RuntimeEngineDeployer()
           
 
Method Summary
 boolean cancelRequest(java.lang.String sessionId, long requestId)
           
 void clearCache(java.lang.String cacheType)
           
 java.util.Collection<SessionMetadata> getActiveSessions()
           
 int getActiveSessionsCount()
           
 java.util.Collection<java.lang.String> getCacheTypes()
           
<T> T
getClientService(java.lang.Class<T> iface)
           
 java.util.List<RequestMetadata> getLongRunningRequests()
           
 java.util.List<RequestMetadata> getRequests()
           
 java.util.List<RequestMetadata> getRequestsForSession(java.lang.String sessionId)
           
 java.util.List<RequestMetadata> getRequestsUsingVDB(java.lang.String vdbName, int vdbVersion)
           
 SecurityHelper getSecurityHelper()
           
 java.util.Collection<Transaction> getTransactions()
           
 WorkerPoolStatisticsMetadata getWorkManagerStatistics(java.lang.String identifier)
           
 void mergeVDBs(java.lang.String sourceVDBName, int sourceVDBVersion, java.lang.String targetVDBName, int targetVDBVersion)
           
 void setAdminSocketConfiguration(SocketConfiguration socketConfig)
           
 void setBufferService(BufferService service)
           
 void setCacheFactory(CacheFactory factory)
           
 void setJdbcSocketConfiguration(SocketConfiguration socketConfig)
           
 void setJndiName(java.lang.String jndiName)
           
 void setOdbcSocketConfiguration(SocketConfiguration socketConfig)
           
 void setProfileService(org.jboss.profileservice.spi.ProfileService profileService)
           
 void setSecurityHelper(SecurityHelper helper)
           
 void setSessionService(SessionService service)
           
 void setTransactionManager(javax.transaction.TransactionManager transactionManager)
           
 void setVDBRepository(VDBRepository repo)
           
 void setWorkManager(javax.resource.spi.work.WorkManager mgr)
           
 void setXATerminator(javax.resource.spi.XATerminator xaTerminator)
           
 void start()
           
 void stop()
           
 void terminateSession(java.lang.String terminateeId)
           
 void terminateTransaction(java.lang.String xid)
           
 
Methods inherited from class org.teiid.dqp.internal.process.DQPConfiguration
getLobChunkSizeInKB, getMaxActivePlans, getMaxRowsFetchSize, getMaxSourceRows, getMaxThreads, getPreparedPlanCacheMaxCount, getQueryThresholdInSecs, getResultsetCacheConfig, getResultSetCacheMaxEntries, getResultSetCacheMaxEntryAge, getRuntimeVersion, getTimeSliceInMilli, isExceptionOnMaxSourceRows, isResultSetCacheEnabled, setExceptionOnMaxSourceRows, setLobChunkSizeInKB, setMaxActivePlans, setMaxRowsFetchSize, setMaxSourceRows, setMaxThreads, setPreparedPlanCacheMaxCount, setQueryThresholdInSecs, setResultsetCacheConfig, setResultSetCacheMaxEntryAge, setTimeSliceInMilli, setUseDataRoles, useDataRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeEngineDeployer

public RuntimeEngineDeployer()
Method Detail

getClientService

public <T> T getClientService(java.lang.Class<T> iface)
                   throws ComponentNotFoundException
Specified by:
getClientService in interface ClientServiceRegistry
Throws:
ComponentNotFoundException

getSecurityHelper

public SecurityHelper getSecurityHelper()
Specified by:
getSecurityHelper in interface ClientServiceRegistry

start

public void start()

stop

public void stop()

setJdbcSocketConfiguration

public void setJdbcSocketConfiguration(SocketConfiguration socketConfig)

setAdminSocketConfiguration

public void setAdminSocketConfiguration(SocketConfiguration socketConfig)

setOdbcSocketConfiguration

public void setOdbcSocketConfiguration(SocketConfiguration socketConfig)

setXATerminator

public void setXATerminator(javax.resource.spi.XATerminator xaTerminator)

setTransactionManager

public void setTransactionManager(javax.transaction.TransactionManager transactionManager)

setWorkManager

public void setWorkManager(javax.resource.spi.work.WorkManager mgr)

setSessionService

public void setSessionService(SessionService service)

setBufferService

public void setBufferService(BufferService service)

setSecurityHelper

public void setSecurityHelper(SecurityHelper helper)

setVDBRepository

public void setVDBRepository(VDBRepository repo)

setProfileService

public void setProfileService(org.jboss.profileservice.spi.ProfileService profileService)

setJndiName

public void setJndiName(java.lang.String jndiName)

getRequestsForSession

public java.util.List<RequestMetadata> getRequestsForSession(java.lang.String sessionId)
Specified by:
getRequestsForSession in interface DQPManagement

getRequestsUsingVDB

public java.util.List<RequestMetadata> getRequestsUsingVDB(java.lang.String vdbName,
                                                           int vdbVersion)
                                                    throws AdminException
Specified by:
getRequestsUsingVDB in interface DQPManagement
Throws:
AdminException

getRequests

public java.util.List<RequestMetadata> getRequests()
Specified by:
getRequests in interface DQPManagement

getLongRunningRequests

public java.util.List<RequestMetadata> getLongRunningRequests()
Specified by:
getLongRunningRequests in interface DQPManagement

getWorkManagerStatistics

public WorkerPoolStatisticsMetadata getWorkManagerStatistics(java.lang.String identifier)
Specified by:
getWorkManagerStatistics in interface DQPManagement

terminateSession

public void terminateSession(java.lang.String terminateeId)
Specified by:
terminateSession in interface DQPManagement

cancelRequest

public boolean cancelRequest(java.lang.String sessionId,
                             long requestId)
                      throws AdminException
Specified by:
cancelRequest in interface DQPManagement
Throws:
AdminException

getCacheTypes

public java.util.Collection<java.lang.String> getCacheTypes()
Specified by:
getCacheTypes in interface DQPManagement

clearCache

public void clearCache(java.lang.String cacheType)
Specified by:
clearCache in interface DQPManagement

getActiveSessions

public java.util.Collection<SessionMetadata> getActiveSessions()
                                                        throws AdminException
Specified by:
getActiveSessions in interface DQPManagement
Throws:
AdminException

getActiveSessionsCount

public int getActiveSessionsCount()
                           throws AdminException
Specified by:
getActiveSessionsCount in interface DQPManagement
Throws:
AdminException

getTransactions

public java.util.Collection<Transaction> getTransactions()
Specified by:
getTransactions in interface DQPManagement

terminateTransaction

public void terminateTransaction(java.lang.String xid)
                          throws AdminException
Specified by:
terminateTransaction in interface DQPManagement
Throws:
AdminException

mergeVDBs

public void mergeVDBs(java.lang.String sourceVDBName,
                      int sourceVDBVersion,
                      java.lang.String targetVDBName,
                      int targetVDBVersion)
               throws AdminException
Specified by:
mergeVDBs in interface DQPManagement
Throws:
AdminException

setCacheFactory

public void setCacheFactory(CacheFactory factory)


Copyright © 2010. All Rights Reserved.