XRootD
Loading...
Searching...
No Matches
XrdCmsSelect Class Reference

#include <XrdCmsSelect.hh>

Collaboration diagram for XrdCmsSelect:

Public Types

enum  {
  Write = 0x00010 ,
  NewFile = 0x00020 ,
  Online = 0x00040 ,
  Trunc = 0x00080 ,
  Create = 0x000A0 ,
  Defer = 0x00100 ,
  Peers = 0x00200 ,
  Refresh = 0x00400 ,
  Asap = 0x00800 ,
  noBind = 0x01000 ,
  isMeta = 0x02000 ,
  Freshen = 0x04000 ,
  Replica = 0x08000 ,
  NoTryLim = 0x10000 ,
  MWFiles = 0x20000 ,
  Advisory = 0x40000 ,
  Pending = 0x80000 ,
  ifWant = 0x0000f ,
  Pack = 0x00100000 ,
  UseRef = 0x00200000 ,
  isDir = 0x00400000 ,
  UseAH = 0x08000000
}

Public Member Functions

 XrdCmsSelect (int opts=0, char *thePath=0, int thePLen=0)
 ~XrdCmsSelect ()

Public Attributes

unsigned int AltHash
XrdCmsRRQInfoInfoP
int iovN
struct iovec * iovP
SMask_t nmask
int Opts
XrdCmsKey Path
int Reserved
struct { 
char Data [SelDSZ]
int DLen
int Port
Resp
SMask_t smask
struct { 
SMask_t bf
SMask_t hf
SMask_t pf
SMask_t wf
Vec

Static Public Attributes

static const int SelDSZ = 256

Detailed Description

Definition at line 43 of file XrdCmsSelect.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Write 
NewFile 
Online 
Trunc 
Create 
Defer 
Peers 
Refresh 
Asap 
noBind 
isMeta 
Freshen 
Replica 
NoTryLim 
MWFiles 
Advisory 
Pending 
ifWant 
Pack 
UseRef 
isDir 
UseAH 

Definition at line 56 of file XrdCmsSelect.hh.

56 {Write = 0x00010, // File will be open in write mode (select & cache)
57 NewFile = 0x00020, // File will be created may not exist (select)
58 Online = 0x00040, // Only consider online files (select & prep)
59 Trunc = 0x00080, // File will be truncated (Select only)
60 Create = 0x000A0, // Create file, truncate if exists
61 Defer = 0x00100, // Do not select a server now (prep only)
62 Peers = 0x00200, // Peer clusters may be selected (select only)
63 Refresh = 0x00400, // Cache should be refreshed (all)
64 Asap = 0x00800, // Respond as soon as possible (locate only)
65 noBind = 0x01000, // Do not new bind file to a server (select only)
66 isMeta = 0x02000, // Only inode information being changed(select only)
67 Freshen = 0x04000, // Freshen access times (prep only)
68 Replica = 0x08000, // File will be replicated (w/ Create) (select only)
69 NoTryLim= 0x10000, // Do not apply the retry limit
70 MWFiles = 0x20000, // Multiwrite files allowed (select only)
71 Advisory= 0x40000, // Cache A/D is advisory (no delay) (have & cache)
72 Pending = 0x80000, // File being staged (have & cache)
73 ifWant = 0x0000f, // XrdNetIF::ifType encoding location
74
75 Pack = 0x00100000, // Packed selection
76 UseRef = 0x00200000, // Selection by reference count only
77 isDir = 0x00400000, // This selection is for a directory
78 UseAH = 0x08000000 // Use alternate hash for affinity
79 };

Constructor & Destructor Documentation

◆ XrdCmsSelect()

XrdCmsSelect::XrdCmsSelect ( int opts = 0,
char * thePath = 0,
int thePLen = 0 )
inline

Definition at line 94 of file XrdCmsSelect.hh.

95 : Path(thePath,thePLen), InfoP(0), smask(0), Opts(opts)
96 {Resp.Port = 0; *Resp.Data = '\0'; Resp.DLen = 0;}
struct myOpts opts
struct XrdCmsSelect::@372246154012353073336061155127145056202367365025 Resp
XrdCmsRRQInfo * InfoP
XrdCmsKey Path

References InfoP, Opts, opts, Path, Resp, and smask.

◆ ~XrdCmsSelect()

XrdCmsSelect::~XrdCmsSelect ( )
inline

Definition at line 97 of file XrdCmsSelect.hh.

97{}

Member Data Documentation

◆ AltHash

unsigned int XrdCmsSelect::AltHash

Definition at line 53 of file XrdCmsSelect.hh.

◆ InfoP

◆ iovN

int XrdCmsSelect::iovN

◆ iovP

struct iovec* XrdCmsSelect::iovP

◆ nmask

◆ Opts

◆ Path

◆ Reserved

int XrdCmsSelect::Reserved

Definition at line 54 of file XrdCmsSelect.hh.

◆ [struct]

◆ SelDSZ

const int XrdCmsSelect::SelDSZ = 256
static

Definition at line 87 of file XrdCmsSelect.hh.

◆ smask

SMask_t XrdCmsSelect::smask

Definition at line 49 of file XrdCmsSelect.hh.

Referenced by XrdCmsSelect().

◆ [struct]


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