Qorus Integration Engine®  4.0.3.p2_git
OMQ::DbSelectStreamConfig Class Reference

config class for DB select streams More...

Inheritance diagram for OMQ::DbSelectStreamConfig:
OMQ::DbStreamConfig OMQ::QueuedBlockConfigBase OMQ::StreamConfig OMQ::DbStreamConfigBase

Public Member Methods

 constructor (string stream, string remote, string datasource, string tablename, *hash options)
 creates the object and assigns config info
 
 constructor (string stream, QorusSystemRestHelper remote, string datasource, string tablename, *hash options)
 creates the object and assigns config info
 
private setDbSelectOptions (*hash options)
 sets config options
 
*hash selectOptions ()
 returns any select hash options
 
bool transaction ()
 returns the transaction flag
 
 update (string stream, string tablename, *hash options)
 updates the configuration for a new stream
 
- Public Member Methods inherited from OMQ::DbStreamConfig
 constructor (string stream, string remote, string datasource, string tablename, *hash options)
 creates the object and assigns config info
 
 constructor (string stream, QorusSystemRestHelper remote, string datasource, string tablename, *hash options)
 creates the object and assigns config info
 
string streamDesc ()
 returns a description of the stream for error reporting
 
 logStreamConfigImpl (string what, string url)
 logs the stream configuration when created
 
- Public Member Methods inherited from OMQ::StreamConfig
 constructor (string stream, string remote, *hash options)
 constructor taking a string giving the name of the remote connection for the remote server More...
 
 constructor (string stream, QorusSystemRestHelper remote, *hash options)
 constructor taking an OMQ::QorusSystemRestHelper object for the remote connection More...
 
 logStreamConfig (string what)
 logs the stream configuration when created
 
 logStreamConfigImpl (string what, string url)
 logs the stream configuration when created
 
private setOptions (*hash options)
 sets configuration values from an optional option hash
 
string stream ()
 returns the stream name
 
string streamDesc ()
 returns a description of the stream for error reporting
 
QorusSystemRestHelper remote ()
 returns the remote connection object (see OMQ::QorusSystemRestHelper)
 
timeout timeout ()
 returns the timeout value in milliseconds
 
int block ()
 returns the block size
 
bool suppressRemoteTimeout ()
 returns True if no "timeout" option should be sent to the remote
 
 update (string stream, *hash options)
 updates the configuration for a new stream
 
private int getDefaultBlockSize ()
 returns the default block size for this object (1000)
 
- Public Member Methods inherited from OMQ::DbStreamConfigBase
 constructor (string datasource, string tablename)
 creates the object and assigns config info More...
 
string datasource ()
 returns the the datasource connection name in the remote server
 
string tableName ()
 returns the table name
 
 update (string tablename)
 updates the configuration for a new stream
 
- Public Member Methods inherited from OMQ::QueuedBlockConfigBase
 constructor (*hash options)
 creates the object and assigns config info
 
*int queueBlockSize ()
 returns the queue block size
 
int queueTimeout ()
 returns the queue timeout in milliseconds
 
 update (*hash options)
 updates options
 

Private Attributes

bool m_transaction = False
 flag to start a remote transaction
 
- Private Attributes inherited from OMQ::StreamConfig
string m_stream
 no public members More...
 
QorusSystemRestHelper m_remote
 real remote rest helper
 
timeout m_timeout = 5m
 timeout for rest connections
 
bool m_no_remote_timeout = False
 flag to suppress sending the timeout option to the remote
 
int m_logLevel = LL_INFO
 default log level; default LL_INFO
 
softint m_block
 block size
 
- Private Attributes inherited from OMQ::QueuedBlockConfigBase
*softint m_queue_block_size = 2
 data queue block size; the number of blocks to queue for sending before the main data thread will block; default: 2
 
timeout m_queue_timeout = 5m
 queue timeout; maximum amount of time a message can wait for the queue to become free; default: 5m
 
const MinQueueBlockSize = 2
 minimum queue block size
 

Detailed Description

config class for DB select streams


The documentation for this class was generated from the following file: