#include <BatchManager.h>
Public Member Functions | |
BatchManager (const BatchManagerBase::StorageCategory storageCategory, const BatchResolution::BatchThreadModel threadModel) | |
~BatchManager () | |
void | open (const string &storageId, ios_base::openmode openMode) |
void | close (const string &storageId) |
void | commit () |
void | rollback () |
T & | storage () |
BatchItem | begin () const |
BatchItem | end () const |
long | size () const |
void | setConfig (const string &configFile) |
const BatchResolution & | getResolution () |
void | setResolution (const BatchResolution &resolution) |
![]() | |
virtual | ~BatchManagerBase () |
const BatchManagerBase & | operator<< (const string &document) |
const BatchManagerBase & | operator<< (BatchManip::BatchMetadata metadata) |
const BatchManagerBase & | operator<< (const BatchManip::BufferSize size) |
const BatchManagerBase & | operator<< (const BatchItem &item) |
void | operator>> (BatchItem &item) |
bool | moreMessages () const |
void | setXPath (const string &xpath) |
string | getXPath () const |
BatchManagerBase::StorageCategory | getStorageCategory () const |
Protected Member Functions | |
void | internalEnqueue (const string &document) |
void | internalEnqueue (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *const document) |
void | internalEnqueue (BatchManip::BatchMetadata metadata) |
void | internalEnqueue (const BatchManip::BufferSize size) |
void | internalEnqueue (const BatchItem &item) |
void | internalDequeue (BatchItem &item) |
![]() | |
BatchManagerBase (const BatchManagerBase::StorageCategory storageCategory) | |
Private Attributes | |
BatchResolution::BatchThreadModel | m_ThreadModel |
ios_base::openmode | m_OpenMode |
BatchConfig | m_Config |
T | m_Storage |
string | m_StorageId |
BatchResolution | m_CrtResolution |
Additional Inherited Members | |
![]() | |
enum | BATCH_STATUS { BATCH_NEW = 0, BATCH_INPROGRESS = 10, BATCH_READY = 15, BATCH_FAILED = 20, BATCH_COMPLETED = 30 } |
enum | StorageCategory { Flatfile, XMLfile, MQ, ZIP } |
![]() | |
static BatchManagerBase * | CreateBatchManager (const BatchManagerBase::StorageCategory storageCategory) |
static string | ToString (const BatchManagerBase::BATCH_STATUS status) |
![]() | |
string | m_XPath |
BatchManagerBase::StorageCategory | m_StorageCategory |
bool | m_MoreMessages |
XSLTFilter | m_TransformFilter |
const XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * | m_MetaDoc |
BatchManager::BatchManager | ( | const BatchManagerBase::StorageCategory | storageCategory, |
const BatchResolution::BatchThreadModel | threadModel | ||
) |
BatchManager::~BatchManager | ( | ) |
|
inline |
|
virtual |
Implements FinTP::BatchManagerBase.
|
inlinevirtual |
Implements FinTP::BatchManagerBase.
|
inline |
|
inline |
|
protectedvirtual |
Implements FinTP::BatchManagerBase.
|
protectedvirtual |
Implements FinTP::BatchManagerBase.
|
protectedvirtual |
Implements FinTP::BatchManagerBase.
|
protectedvirtual |
Implements FinTP::BatchManagerBase.
|
protectedvirtual |
Implements FinTP::BatchManagerBase.
|
protectedvirtual |
Implements FinTP::BatchManagerBase.
|
virtual |
Implements FinTP::BatchManagerBase.
|
inlinevirtual |
Implements FinTP::BatchManagerBase.
void BatchManager::setConfig | ( | const string & | configFile | ) |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |