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 void
addTransport(SocketConfiguration configuration)
AuthenticationType
getAuthenticationType()
String
getBufferDirectory()
CacheFactory
getCacheFactory()
String
getInfinispanConfigFile()
Deprecated.int
getMaxAsyncThreads()
long
getMaxBufferSpace()
Deprecated.long
getMaxFileSize()
Deprecated.int
getMaxODBCLobSizeAllowed()
int
getMaxOpenFiles()
Deprecated.int
getMaxProcessingKb()
Deprecated.int
getMaxReserveKb()
Deprecated.int
getMaxResultSetCacheStaleness()
int
getMaxStorageObjectSize()
Deprecated.int
getMemoryBufferSpace()
Deprecated.String
getNodeName()
ObjectReplicator
getObjectReplicator()
int
getProcessorBatchSize()
String
getSecurityDomain()
SecurityHelper
getSecurityHelper()
TransactionManager
getTransactionManager()
List<SocketConfiguration>
getTransports()
boolean
isAllowEnvFunction()
boolean
isEncryptFiles()
Deprecated.boolean
isInlineLobs()
Deprecated.boolean
isMemoryBufferOffHeap()
Deprecated.boolean
isUseDisk()
void
setAllowEnvFunction(boolean allowEnvFunction)
void
setAuthenticationType(AuthenticationType authenticationType)
void
setBufferDirectory(String dir)
void
setCacheFactory(CacheFactory cacheFactory)
void
setEncryptFiles(boolean encryptFiles)
Deprecated.void
setInfinispanConfigFile(String infinispanConfigFile)
Deprecated.void
setInlineLobs(boolean inlineLobs)
Deprecated.void
setMaxAsyncThreads(int maxAsyncThreads)
void
setMaxBufferSpace(long maxBufferSpace)
Deprecated.void
setMaxFileSize(long maxFileSize)
Deprecated.void
setMaxODBCLobSizeAllowed(int lobSize)
void
setMaxOpenFiles(int maxOpenFiles)
Deprecated.void
setMaxProcessingKb(int maxProcessingKb)
Deprecated.void
setMaxReserveKb(int maxReserveKb)
Deprecated.void
setMaxResultSetCacheStaleness(int maxResultSetCacheStaleness)
void
setMaxStorageObjectSize(int maxStorageObjectSize)
Deprecated.void
setMemoryBufferOffHeap(boolean memoryBufferOffHeap)
Deprecated.void
setMemoryBufferSpace(int memoryBufferSpace)
Deprecated.void
setNodeName(String nodeName)
void
setObjectReplicator(ObjectReplicator objectReplicator)
void
setProcessorBatchSize(int processorBatchSize)
void
setSecurityDomain(String securityDomain)
void
setSecurityHelper(SecurityHelper securityHelper)
Set theSecurityHelper
that can associate the appropriate SecurityContext with threads executing Teiid tasks.void
setTransactionManager(TransactionManager transactionManager)
void
setUseDisk(boolean useDisk)
protected void
stop()
-
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 theSecurityHelper
that 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)
-
-