xrootd
Public Member Functions | Static Public Attributes | Private Types | Private Member Functions | Private Attributes | Friends

XrdMonCtrArchiver Class Reference

#include <XrdMonCtrArchiver.hh>

Collaboration diagram for XrdMonCtrArchiver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XrdMonCtrArchiver (const char *cBaseDir, const char *dBaseDir, const char *rtLogDir, kXR_int64 maxFileSize, int ctrBufSize, int rtBufSize, bool onlineDec, bool rtDec)
 ~XrdMonCtrArchiver ()
void operator() ()

Static Public Attributes

static int _decHDFlushDelay = -1
static int _decRTFlushDelay = -1

Private Types

enum  { TIMESTAMP_FREQ = 10000, MAX_INACTIVITY = 60*60*24 }

Private Member Functions

void check4InactiveSenders ()
void archivePacket (XrdMonCtrPacket *p)

Private Attributes

vector< XrdMonCtrWriter * > _writers
XrdMonDecPacketDecoder_decoder
pthread_t _decHDFlushThread
pthread_t _decRTFlushThread
long _currentTime
int _heartbeat

Friends

void * decHDFlushHeartBeat (void *arg)
void * decRTFlushHeartBeat (void *arg)

Member Enumeration Documentation

anonymous enum [private]
Enumerator:
TIMESTAMP_FREQ 
MAX_INACTIVITY 

Constructor & Destructor Documentation

XrdMonCtrArchiver::XrdMonCtrArchiver ( const char *  cBaseDir,
const char *  dBaseDir,
const char *  rtLogDir,
kXR_int64  maxFileSize,
int  ctrBufSize,
int  rtBufSize,
bool  onlineDec,
bool  rtDec 
)
XrdMonCtrArchiver::~XrdMonCtrArchiver ( )

Member Function Documentation

void XrdMonCtrArchiver::archivePacket ( XrdMonCtrPacket p) [private]
void XrdMonCtrArchiver::check4InactiveSenders ( ) [private]
void XrdMonCtrArchiver::operator() ( )

Friends And Related Function Documentation

void* decHDFlushHeartBeat ( void *  arg) [friend]

Referenced by XrdMonCtrArchiver().

void* decRTFlushHeartBeat ( void *  arg) [friend]

Referenced by XrdMonCtrArchiver().


Member Data Documentation

Referenced by decHDFlushHeartBeat(), and main().

Referenced by XrdMonCtrArchiver().

Referenced by decRTFlushHeartBeat(), and main().

Referenced by XrdMonCtrArchiver().


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