hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::drce::tests::DRCETaskThreadingModeTest Class Reference

#include <DRCETaskThreadingModeTest.hpp>

Public Member Functions

std::string operator() (const std::string &data)
void setNotificationFunctor (std::function< std::string(const std::string &)> notificationFunctor_)
std::string executeNotification (const std::string &data)

Static Public Member Functions

static DRCENodeOptions getNodeOptions (const std::string &homeDir="")
static bool isExistTask (DRCEFunctionalObject &fObj, unsigned int requestId)
static void testParallelAsyncExecution (DRCEFunctionalObject &fObj, unsigned int requestId, unsigned int repeatCount=1)
static void testMaxThreadLimits (DRCEFunctionalObject &fObj, unsigned int requestId, unsigned int maxAllowedThreadsCount, unsigned int repeatCount)
static void testExecuteSyncRequest (DRCEFunctionalObject &fObj, unsigned int requestId)
static void testSetTaskToExecuteRequest (DRCEFunctionalObject &fObj, unsigned int requestId, const std::string &requestData="")
static void testCheckTaskRequest (DRCEFunctionalObject &fObj, unsigned int requestId, const std::string &requestData="")
static void testGetTaskDataRequest (DRCEFunctionalObject &fObj, unsigned int requestId)
static void testTerminateTaskRequest (DRCEFunctionalObject &fObj, unsigned int requestId, DRCETaskRequestTerminate::AlgorithmType algorithmType, DRCETaskRequestTerminate::CleanupFlag cleanupFlag=DRCETaskRequestTerminate::CleanupFlag::cfNotDelete)
static void testDeleteTaskDataRequest (DRCEFunctionalObject &fObj, unsigned int requestId)
static void testExecuteNotification (DRCEFunctionalObject &fObj, unsigned int requestId)
static void testTerminateExpiredTaskAsync (DRCEFunctionalObject &fObj, unsigned int requestId)
static void testTerminateExpiredTaskSync (DRCEFunctionalObject &fObj, unsigned int requestId)
static void testTaskRequestTimeLimits (DRCEFunctionalObject &fObj, unsigned int requestId, SessionOptions::ThreadMode threadMode, unsigned int timeMax)
static void testTaskRequestExpiredTime (DRCEFunctionalObject &fObj, unsigned int requestId, SessionOptions::ThreadMode threadMode, SessionOptions::CleanupFlag cleanupFlag)
static void testRequestLocalShellAsyncCleanUp (void)
static void testTerminateTaskRequestCleanUp (void)
static void testRequestLocalShellAsync (void)
static void testStressMultipleRequestsShellHost (void)
static void testResourceMonitor (void)
static void testCurrentTasksQueue (void)
static void testListAllTasks (void)

Detailed Description

Definition at line 30 of file DRCETaskThreadingModeTest.hpp.

Member Function Documentation

std::string HCE::drce::tests::DRCETaskThreadingModeTest::executeNotification ( const std::string &  data)
inline

Definition at line 104 of file DRCETaskThreadingModeTest.hpp.

DRCENodeOptions HCE::drce::tests::DRCETaskThreadingModeTest::getNodeOptions ( const std::string &  homeDir = "")
static

Definition at line 49 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool HCE::drce::tests::DRCETaskThreadingModeTest::isExistTask ( DRCEFunctionalObject fObj,
unsigned int  requestId 
)
static

Definition at line 69 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string HCE::drce::tests::DRCETaskThreadingModeTest::operator() ( const std::string &  data)
inline

Definition at line 99 of file DRCETaskThreadingModeTest.hpp.

void HCE::drce::tests::DRCETaskThreadingModeTest::setNotificationFunctor ( std::function< std::string(const std::string &)>  notificationFunctor_)
inline

Definition at line 103 of file DRCETaskThreadingModeTest.hpp.

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testCheckTaskRequest ( DRCEFunctionalObject fObj,
unsigned int  requestId,
const std::string &  requestData = "" 
)
static

Definition at line 193 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testCurrentTasksQueue ( void  )
static

Definition at line 1099 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testDeleteTaskDataRequest ( DRCEFunctionalObject fObj,
unsigned int  requestId 
)
static

Definition at line 541 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testExecuteNotification ( DRCEFunctionalObject fObj,
unsigned int  requestId 
)
static

Definition at line 640 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testExecuteSyncRequest ( DRCEFunctionalObject fObj,
unsigned int  requestId 
)
static

Definition at line 76 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testGetTaskDataRequest ( DRCEFunctionalObject fObj,
unsigned int  requestId 
)
static

Definition at line 352 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testListAllTasks ( void  )
static

Definition at line 1174 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testMaxThreadLimits ( DRCEFunctionalObject fObj,
unsigned int  requestId,
unsigned int  maxAllowedThreadsCount,
unsigned int  repeatCount 
)
static

Definition at line 864 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testParallelAsyncExecution ( DRCEFunctionalObject fObj,
unsigned int  requestId,
unsigned int  repeatCount = 1 
)
static

Definition at line 833 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testRequestLocalShellAsync ( void  )
static

Definition at line 951 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testRequestLocalShellAsyncCleanUp ( void  )
static

Definition at line 898 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testResourceMonitor ( void  )
static

Definition at line 1031 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testSetTaskToExecuteRequest ( DRCEFunctionalObject fObj,
unsigned int  requestId,
const std::string &  requestData = "" 
)
static

Definition at line 136 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testStressMultipleRequestsShellHost ( void  )
static

Definition at line 1014 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testTaskRequestExpiredTime ( DRCEFunctionalObject fObj,
unsigned int  requestId,
SessionOptions::ThreadMode  threadMode,
SessionOptions::CleanupFlag  cleanupFlag 
)
static

Definition at line 1258 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testTaskRequestTimeLimits ( DRCEFunctionalObject fObj,
unsigned int  requestId,
SessionOptions::ThreadMode  threadMode,
unsigned int  timeMax 
)
static

Definition at line 733 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testTerminateExpiredTaskAsync ( DRCEFunctionalObject fObj,
unsigned int  requestId 
)
static

Definition at line 707 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testTerminateExpiredTaskSync ( DRCEFunctionalObject fObj,
unsigned int  requestId 
)
static

Definition at line 683 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testTerminateTaskRequest ( DRCEFunctionalObject fObj,
unsigned int  requestId,
DRCETaskRequestTerminate::AlgorithmType  algorithmType,
DRCETaskRequestTerminate::CleanupFlag  cleanupFlag = DRCETaskRequestTerminate::CleanupFlag::cfNotDelete 
)
static

Definition at line 442 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::tests::DRCETaskThreadingModeTest::testTerminateTaskRequestCleanUp ( void  )
static

Definition at line 922 of file DRCETaskThreadingModeTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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