Package org.teiid.runtime
Class EmbeddedConfiguration
- java.lang.Object
-
- org.teiid.dqp.internal.process.DQPConfiguration
-
- org.teiid.runtime.EmbeddedConfiguration
-
public class EmbeddedConfiguration extends DQPConfiguration
-
-
Field Summary
-
Fields inherited from class org.teiid.dqp.internal.process.DQPConfiguration
DEFAULT_MAX_ACTIVE_PLANS, DEFAULT_MAX_PROCESS_WORKERS, DEFAULT_MAX_SOURCE_ROWS, DEFAULT_MAX_STALENESS_SECONDS, DEFAULT_USER_REQUEST_SOURCE_CONCURRENCY
-
-
Constructor Summary
Constructors Constructor Description EmbeddedConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddTransport(SocketConfiguration configuration)AuthenticationTypegetAuthenticationType()StringgetBufferDirectory()CacheFactorygetCacheFactory()StringgetInfinispanConfigFile()Deprecated.intgetMaxAsyncThreads()longgetMaxBufferSpace()Deprecated.longgetMaxFileSize()Deprecated.intgetMaxODBCLobSizeAllowed()intgetMaxOpenFiles()Deprecated.intgetMaxProcessingKb()Deprecated.intgetMaxReserveKb()Deprecated.intgetMaxResultSetCacheStaleness()intgetMaxStorageObjectSize()Deprecated.intgetMemoryBufferSpace()Deprecated.StringgetNodeName()ObjectReplicatorgetObjectReplicator()intgetProcessorBatchSize()StringgetSecurityDomain()SecurityHelpergetSecurityHelper()TransactionManagergetTransactionManager()List<SocketConfiguration>getTransports()booleanisAllowEnvFunction()booleanisEncryptFiles()Deprecated.booleanisInlineLobs()Deprecated.booleanisMemoryBufferOffHeap()Deprecated.booleanisUseDisk()voidsetAllowEnvFunction(boolean allowEnvFunction)voidsetAuthenticationType(AuthenticationType authenticationType)voidsetBufferDirectory(String dir)voidsetCacheFactory(CacheFactory cacheFactory)voidsetEncryptFiles(boolean encryptFiles)Deprecated.voidsetInfinispanConfigFile(String infinispanConfigFile)Deprecated.voidsetInlineLobs(boolean inlineLobs)Deprecated.voidsetMaxAsyncThreads(int maxAsyncThreads)voidsetMaxBufferSpace(long maxBufferSpace)Deprecated.voidsetMaxFileSize(long maxFileSize)Deprecated.voidsetMaxODBCLobSizeAllowed(int lobSize)voidsetMaxOpenFiles(int maxOpenFiles)Deprecated.voidsetMaxProcessingKb(int maxProcessingKb)Deprecated.voidsetMaxReserveKb(int maxReserveKb)Deprecated.voidsetMaxResultSetCacheStaleness(int maxResultSetCacheStaleness)voidsetMaxStorageObjectSize(int maxStorageObjectSize)Deprecated.voidsetMemoryBufferOffHeap(boolean memoryBufferOffHeap)Deprecated.voidsetMemoryBufferSpace(int memoryBufferSpace)Deprecated.voidsetNodeName(String nodeName)voidsetObjectReplicator(ObjectReplicator objectReplicator)voidsetProcessorBatchSize(int processorBatchSize)voidsetSecurityDomain(String securityDomain)voidsetSecurityHelper(SecurityHelper securityHelper)Set theSecurityHelperthat can associate the appropriate SecurityContext with threads executing Teiid tasks.voidsetTransactionManager(TransactionManager transactionManager)voidsetUseDisk(boolean useDisk)protected voidstop()-
Methods inherited from class org.teiid.dqp.internal.process.DQPConfiguration
getAuthorizationValidator, getLobChunkSizeInKB, getMaxActivePlans, getMaxRowsFetchSize, getMaxSourceRows, getMaxThreads, getPreParser, getProperties, getQueryThresholdInMilli, getQueryThresholdInSecs, getQueryTimeout, getTeiidExecutor, getTimeSliceInMilli, getUserRequestSourceConcurrency, isDetectingChangeEvents, isExceptionOnMaxSourceRows, setAuthorizationValidator, setDetectingChangeEvents, setExceptionOnMaxSourceRows, setLobChunkSizeInKB, setMaxActivePlans, setMaxRowsFetchSize, setMaxSourceRows, setMaxThreads, setPreParser, setProperties, setQueryThresholdInMilli, setQueryThresholdInSecs, setQueryTimeout, setTimeSliceInMilli, setUserRequestSourceConcurrency
-
-
-
-
Method Detail
-
getSecurityHelper
public SecurityHelper getSecurityHelper()
-
setSecurityHelper
public void setSecurityHelper(SecurityHelper securityHelper)
Set theSecurityHelperthat can associate the appropriate SecurityContext with threads executing Teiid tasks. Will also set the appropriate user/subject information on the Teiid contexts.- Parameters:
securityHelper-
-
getSecurityDomain
public String getSecurityDomain()
-
setSecurityDomain
public void setSecurityDomain(String securityDomain)
-
getTransactionManager
public TransactionManager getTransactionManager()
-
setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)
-
getObjectReplicator
public ObjectReplicator getObjectReplicator()
-
setObjectReplicator
public void setObjectReplicator(ObjectReplicator objectReplicator)
-
isUseDisk
public boolean isUseDisk()
-
setUseDisk
public void setUseDisk(boolean useDisk)
-
setBufferDirectory
public void setBufferDirectory(String dir)
-
getBufferDirectory
public String getBufferDirectory()
-
getInfinispanConfigFile
@Deprecated public String getInfinispanConfigFile()
Deprecated.
-
setInfinispanConfigFile
@Deprecated public void setInfinispanConfigFile(String infinispanConfigFile)
Deprecated.- See Also:
to set the directly
-
getCacheFactory
public CacheFactory getCacheFactory()
-
setCacheFactory
public void setCacheFactory(CacheFactory cacheFactory)
-
getMaxResultSetCacheStaleness
public int getMaxResultSetCacheStaleness()
-
setMaxResultSetCacheStaleness
public void setMaxResultSetCacheStaleness(int maxResultSetCacheStaleness)
-
stop
protected void stop()
-
addTransport
public void addTransport(SocketConfiguration configuration)
-
getTransports
public List<SocketConfiguration> getTransports()
-
getMaxODBCLobSizeAllowed
public int getMaxODBCLobSizeAllowed()
-
setMaxODBCLobSizeAllowed
public void setMaxODBCLobSizeAllowed(int lobSize)
-
getMaxAsyncThreads
public int getMaxAsyncThreads()
-
setMaxAsyncThreads
public void setMaxAsyncThreads(int maxAsyncThreads)
-
getProcessorBatchSize
public int getProcessorBatchSize()
-
setProcessorBatchSize
public void setProcessorBatchSize(int processorBatchSize)
-
getMaxReserveKb
@Deprecated public int getMaxReserveKb()
Deprecated.
-
setMaxReserveKb
@Deprecated public void setMaxReserveKb(int maxReserveKb)
Deprecated.
-
getMaxProcessingKb
@Deprecated public int getMaxProcessingKb()
Deprecated.
-
setMaxProcessingKb
@Deprecated public void setMaxProcessingKb(int maxProcessingKb)
Deprecated.
-
isInlineLobs
@Deprecated public boolean isInlineLobs()
Deprecated.
-
setInlineLobs
@Deprecated public void setInlineLobs(boolean inlineLobs)
Deprecated.
-
getMaxOpenFiles
@Deprecated public int getMaxOpenFiles()
Deprecated.
-
setMaxOpenFiles
@Deprecated public void setMaxOpenFiles(int maxOpenFiles)
Deprecated.
-
getMaxBufferSpace
@Deprecated public long getMaxBufferSpace()
Deprecated.
-
setMaxBufferSpace
@Deprecated public void setMaxBufferSpace(long maxBufferSpace)
Deprecated.
-
getMaxFileSize
@Deprecated public long getMaxFileSize()
Deprecated.
-
setMaxFileSize
@Deprecated public void setMaxFileSize(long maxFileSize)
Deprecated.
-
isEncryptFiles
@Deprecated public boolean isEncryptFiles()
Deprecated.
-
setEncryptFiles
@Deprecated public void setEncryptFiles(boolean encryptFiles)
Deprecated.
-
getMaxStorageObjectSize
@Deprecated public int getMaxStorageObjectSize()
Deprecated.
-
setMaxStorageObjectSize
@Deprecated public void setMaxStorageObjectSize(int maxStorageObjectSize)
Deprecated.
-
isMemoryBufferOffHeap
@Deprecated public boolean isMemoryBufferOffHeap()
Deprecated.
-
setMemoryBufferOffHeap
@Deprecated public void setMemoryBufferOffHeap(boolean memoryBufferOffHeap)
Deprecated.
-
getMemoryBufferSpace
@Deprecated public int getMemoryBufferSpace()
Deprecated.
-
setMemoryBufferSpace
@Deprecated public void setMemoryBufferSpace(int memoryBufferSpace)
Deprecated.
-
getAuthenticationType
public AuthenticationType getAuthenticationType()
-
setAuthenticationType
public void setAuthenticationType(AuthenticationType authenticationType)
-
getNodeName
public String getNodeName()
-
setNodeName
public void setNodeName(String nodeName)
-
isAllowEnvFunction
public boolean isAllowEnvFunction()
-
setAllowEnvFunction
public void setAllowEnvFunction(boolean allowEnvFunction)
-
-