xrootd
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
XrdSsiShMat::CRZParms Struct Reference

#include <XrdSsiShMat.hh>

Public Member Functions

 CRZParms ()
 
 ~CRZParms ()
 

Public Attributes

int indexSz
 Number of four byte hash table entries to create.
 
int maxKeys
 Maximum number of keys-value pairs expected in table.
 
int maxKLen
 The maximum acceptable key length.
 
int mode
 Filemode for the newly created file.
 
signed char multW
 
signed char reUse
 
char rsvd [6]
 Reserved for future options.
 

Detailed Description

Create a new shared memory segment and associated file specified at object instantiation (see New() method). Created segments must be made visible to other processes using the Export() method. This allows the table to be preloaded with initial values before the table is made visible.

Parameters
parmsCreate parameters described by CRParms. All uninitialized members in this struct must be specified.
Returns
true - The shared memory was attached, the table can be used.
false - The shared memory could not be attached, errno holds reason.

Constructor & Destructor Documentation

◆ CRZParms()

XrdSsiShMat::CRZParms::CRZParms ( )
inline

References rsvd.

◆ ~CRZParms()

XrdSsiShMat::CRZParms::~CRZParms ( )
inline

Member Data Documentation

◆ indexSz

int XrdSsiShMat::CRZParms::indexSz

Number of four byte hash table entries to create.

◆ maxKeys

int XrdSsiShMat::CRZParms::maxKeys

Maximum number of keys-value pairs expected in table.

◆ maxKLen

int XrdSsiShMat::CRZParms::maxKLen

The maximum acceptable key length.

◆ mode

int XrdSsiShMat::CRZParms::mode

Filemode for the newly created file.

◆ multW

signed char XrdSsiShMat::CRZParms::multW

1: Table can have multiple processes writing. 0: Table has only one process writing. -1: Use default or, for resize, previous setting.

◆ reUse

signed char XrdSsiShMat::CRZParms::reUse

1: Reuse deleted objects. 0: Never reuse deleted objects. -1: Use default or, for resize, previous setting.

◆ rsvd

char XrdSsiShMat::CRZParms::rsvd[6]

Reserved for future options.

Referenced by CRZParms().


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