Class MgmtTask

Index Home MAE > MAE Architecture > MAE Data Types > Class Index > Class MgmtTask

Public Properties
Public Methods
MgmtTask(name)
MgmtTask(task)
static HashArrayArray queryAllDaemons()
static HashArrayArray queryAllTasks()
static HashArray queryTask(id)
static HashArray find(name)
static string getName(recno)
bool isDefined() const
bool isDaemon() const
bool isJob() const
bool isClusterMember() const
bool restartIfCrashes() const
bool isEnabled() const
bool isMultiExec() const
bool hasFullIntegration()
bool hasSemiIntegration()
bool hasNoIntegration()
bool isDbAllowed() const
bool isMsgAllowed() const
const string& clusterName() const
const string& getCommand() const
static inline int insert(record)
static bool create()
static inline const string& getDbName()
static inline bool valid()
Private Properties

#include <MgmtTask.h >

Public Properties

static CsvWORM db

int recno

HashArray row


Public Methods

MgmtTask(name)

const string& name

Default value: ""


instantiate a defined task record

MgmtTask(task)

const MgmtTask& task


static HashArrayArray queryAllDaemons()

Get the list of all daemons

static HashArrayArray queryAllTasks()

Get the list of all tasks

static HashArray queryTask(id)

int id


Get a specific task/daemon

static HashArray find(name)

string name


given a task name, locate its record

static string getName(recno)

int recno


Get the name of the managed task

bool isDefined() const

is this task defined?

bool isDaemon() const

is this task a daemon?

bool isJob() const

is this task a Job?

bool isClusterMember() const

is this task a Java cluster member?

bool restartIfCrashes() const

is it a daemon that should be restarted if it fails

bool isEnabled() const

is it enabled to run?

bool isMultiExec() const

is it enabled to run multiple times simultaneously

bool hasFullIntegration()

has full integration?

bool hasSemiIntegration()

has semi integration?

bool hasNoIntegration()

has no integration?

bool isDbAllowed() const

check if this task permitted DB access

bool isMsgAllowed() const

check if this task permitted Message access

const string& clusterName() const

cluster name for this task

const string& getCommand() const

get command to start this task

static inline int insert(record)

HashArray& record


add another record/task (return 0 on failure, record id otherwise)

static bool create()

Create an empty database

static inline const string& getDbName()

get name of db

static inline bool valid()

Private Properties

IntegrationLevel integration