A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TestCopyWork Class Reference

#include <TestCopyWork.h>

+ Inheritance diagram for TestCopyWork:
+ Collaboration diagram for TestCopyWork:

Public Member Functions

 TestCopyWork (PageCircularBufferIteratorPtr iter, DatabaseID destDatabaseId, UserTypeID destTypeId, SetID destSetId, pdb::HermesExecutionServer *server, int &counter)
 
void execute (PDBBuzzerPtr callerBuzzer) override
 
- Public Member Functions inherited from pdb::PDBWork
virtual PDBBuzzerPtr getLinkedBuzzer ()
 
void execute (PDBWorkerQueue *parent, PDBBuzzerPtr callerBuzzer)
 
PDBWorkerPtr getWorker ()
 
PDBLoggerPtr getLogger ()
 

Private Attributes

PageCircularBufferIteratorPtr iter
 
pdb::HermesExecutionServerserver
 
DatabaseID destDatabaseId
 
UserTypeID destTypeId
 
SetID destSetId
 
int & counter
 

Detailed Description

This class illustrates how a backend server can communicate with frontend server to scan data and copy data to another set in storage.

Definition at line 38 of file TestCopyWork.h.

Constructor & Destructor Documentation

TestCopyWork::TestCopyWork ( PageCircularBufferIteratorPtr  iter,
DatabaseID  destDatabaseId,
UserTypeID  destTypeId,
SetID  destSetId,
pdb::HermesExecutionServer server,
int &  counter 
)

Definition at line 35 of file TestCopyWork.cc.

Member Function Documentation

void TestCopyWork::execute ( PDBBuzzerPtr  callerBuzzer)
overridevirtual

Implements pdb::PDBWork.

Definition at line 51 of file TestCopyWork.cc.

+ Here is the call graph for this function:

Member Data Documentation

int& TestCopyWork::counter
private

Definition at line 56 of file TestCopyWork.h.

DatabaseID TestCopyWork::destDatabaseId
private

Definition at line 53 of file TestCopyWork.h.

SetID TestCopyWork::destSetId
private

Definition at line 55 of file TestCopyWork.h.

UserTypeID TestCopyWork::destTypeId
private

Definition at line 54 of file TestCopyWork.h.

PageCircularBufferIteratorPtr TestCopyWork::iter
private

Definition at line 51 of file TestCopyWork.h.

pdb::HermesExecutionServer* TestCopyWork::server
private

Definition at line 52 of file TestCopyWork.h.


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