treqs Namespace Reference

Classes

class  Activator
 Class responsible for activation of the staging queues. More...
class  DBFileRequest
 class to define a structure for communication between jobs Database and TReqS. This objects is only used between DBUtils, and Dispatcher. More...
class  DBUtils
 Class handling connection to MySQL database. More...
class  Dispatcher
 This class scans new jobs and assign the requests to queues. More...
class  File
 The class File represents a File as a readable object. More...
class  FilePositionOnTape
 Defines a relation between a file and a tape/. More...
class  FilePositionOnTapesController
 Class Controller for the FilePostionOnTape classes. More...
class  FileRequest
class  FilesController
class  HPSSError
 Basic HPSS interaction exception. More...
class  HPSSUnknownError
 Unknown error with HPSS interaction. More...
class  HPSSStatError
 There is no file registered in HPSS with this name. More...
class  HPSSOpenError
 Error on HPSS file open. More...
class  HPSSResourceError
 Error on resources allocation. More...
class  HPSSStageError
 Error on HPSS file stageing. More...
class  HPSSCloseError
 Error in hpss_Close(). More...
class  HPSSBridge
 Managing interactions with HPSS. More...
class  Queue
 The queue class represents a queue of files to be read sequentially. More...
class  QueueDAO
 Managing Queues object updates to database. More...
class  QueuesController
 The controller for Queue objects. More...
class  Reading
 Represents the reading status. Involves a File and a Tape. More...
class  ReadingDAO
 Managing Reading object updates to database. More...
class  Resource
class  Stager
 This class should read files from a queue as a new thread. More...
class  Tape
 Class Tape representing an HPSS tape (or cartridge). More...
class  TapesController
 Provides interface to create new Tapes and access Tape Objects. More...
class  TapeStatusUpdater
class  TreqsConfig
 Parsing the configuration file and providing it to other classes. More...
class  User
 Class handling a user. More...
class  UsersController
 Specialization of the Controller template to manage users. More...

Typedefs

typedef std::pair< std::string,
std::string > 
ConfigKey_t
 This type describes a pair SECTION/KEY.

Enumerations

enum  ErrorCode {
  QUEU01 = 1001, QUEU02 = 1002, QUEU03 = 1003, QUEU04 = 1004,
  QUEU05 = 1005, QUEU06 = 1006, QUEU07 = 1007, QUEU08 = 1008,
  QUEU09 = 1009, QUEU10 = 1010, QUEU11 = 1011, QUEU12 = 1012,
  QUEU13 = 1013, QUEU14 = 1014, QUEU15 = 1015, DBUT01 = 1101,
  DBUT02 = 1102, DBUT03 = 1103, DBUT04 = 1104, DBUT05 = 1105,
  DBUT06 = 1106, DBUT07 = 1107, DBUT08 = 1108, DBUT09 = 1109,
  DBUT10 = 1110, DBUT11 = 1111, DBUT12 = 1112, DBUT13 = 1113,
  DBUT14 = 1114, DBUT15 = 1115, DBUT16 = 1116, DBUT17 = 1117,
  DBUT18 = 1118, DBUT19 = 1119, DBUT20 = 1120, DBUT21 = 1121,
  DBUT22 = 1122, DBUT23 = 1123, DBUT24 = 1124, DBUT25 = 1125,
  DBUT26 = 1126, DBUT27 = 1127, DBUT28 = 1128, DBUT29 = 1129,
  DBUT30 = 1130, DBUT31 = 1131, DBUT32 = 1132, DBUT33 = 1133,
  DBUT34 = 1124, DBUT35 = 1135, DBUT36 = 1136, DBUT37 = 1137,
  DBUT38 = 1138, DBUT39 = 1139, DBUT40 = 1140, DBUT41 = 1141
}
 

List of ErrorCode for all classes.

More...
enum  FileStatus {
  FS_CREATED = 0, FS_SUBMITTED = 1, FS_QUEUED = 2, FS_STAGED = 4,
  FS_FAILED = 6, FS_INVALID_REQUEST = 8, FS_UNDEF = -1
}
enum  QueueStatus { QS_CREATED = 0, QS_ACTIVATED = 1, QS_TEMPORARILY_SUSPENDED = 2, QS_ENDED = 3 }
enum  TapeStatus { TS_UNLOCKED = 0, TS_LOCKED = 1, TS_UNDEF = -1 }
enum  ConfSections { MAIN, TREQSDB, FILECOPY }

Typedef Documentation

typedef std::pair<std::string, std::string> treqs::ConfigKey_t

This type describes a pair SECTION/KEY.


Enumeration Type Documentation

Enumerator:
MAIN 
TREQSDB 
FILECOPY 

List of ErrorCode for all classes.

Each class has a set of error codes with a different value. The first two digits differentiates the class (starting from 10) and the last two digits are properly for the error in the class.

Enumerator:
QUEU01 

Submission time before the given creation time.

QUEU02 

End time before the given creation time.

QUEU03 

The new position cannot be before the current position.

QUEU04 

Creation time after the given end time.

QUEU05 

End time after the given end time.

QUEU06 

Invalid change of queue status.

QUEU07 

Creation time after the given submission time.

QUEU08 

End time before the given submission time.

QUEU09 

Queue is not in QS_CREATED state and it cannot be activated.

QUEU10 

It's not possible to register a NULL as 'File Position on Tape'.

QUEU11 

Unable to register file in Queue.

QUEU12 

It's not possible to register a file before the current position.

QUEU13 

Invalid state at this point.

QUEU14 
QUEU15 
DBUT01 

Failed to change database.

DBUT02 

Failed to list the tables.

DBUT03 

Failed to create the requests table.

DBUT04 

Failed to create the requests_history table.

DBUT05 

Failed to create the queues table.

DBUT06 

Failed to create the queues_history table.

DBUT07 

Failed to change database.

DBUT08 

Failed to list the tables.

DBUT09 

Failed to create the users table.

DBUT10 

Failed to create the mediatype table.

DBUT11 

Error querying MySQL server.

DBUT12 

mysql_stmt_prepare() failed.

DBUT13 

Invalid parameter count returned by MySQL.

DBUT14 

mysql_stmt_bind_param() failed.

DBUT15 

mysql_stmt_execute() failed.

DBUT16 

Unable to connect to database

DBUT17 

Problem while sending statement.

DBUT18 

Error.

DBUT19 

mysql_stmt_prepare() failed.

DBUT20 

Error in mysql_store_result().

DBUT21 

No result.

DBUT22 

Unable to initiate the statement : Out of memory.

DBUT23 

Unable to connect to database.

DBUT24 

Problem while sending statement

DBUT25 

Error.

DBUT26 

Unable to initiate the statement : Out of memory.

DBUT27 

mysql_stmt_prepare() failed.

DBUT28 

Invalid parameter count returned by MySQL.

DBUT29 

mysql_stmt_bind_param() failed.

DBUT30 

mysql_stmt_execute() failed.

DBUT31 

Unable to connect to database.

DBUT32 

Problem while sending statement.

DBUT33 

Error.

DBUT34 

No result.

DBUT35 

Error.

DBUT36 

Failed to change database.

DBUT37 

Failed to issue query.

DBUT38 

Failed to issue query.

DBUT39 

Failed to issue query.

DBUT40 

Failed to issue query.

DBUT41 

Error connecting to MySQL server.

Enumerator:
FS_CREATED 
FS_SUBMITTED 
FS_QUEUED 
FS_STAGED 
FS_FAILED 
FS_INVALID_REQUEST 
FS_UNDEF 
Enumerator:
QS_CREATED 
QS_ACTIVATED 
QS_TEMPORARILY_SUSPENDED 
QS_ENDED 
Enumerator:
TS_UNLOCKED 
TS_LOCKED 
TS_UNDEF 

Generated on 4 Mar 2010 for TReqS by  doxygen 1.6.1