XrdSsiShMat::CRZParms Struct Reference

#include <XrdSsiShMat.hh>

List of all members.

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:
parms Create 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

XrdSsiShMat::CRZParms::CRZParms (  )  [inline]

References rsvd.

XrdSsiShMat::CRZParms::~CRZParms (  )  [inline]

Member Data Documentation

Number of four byte hash table entries to create.

Maximum number of keys-value pairs expected in table.

The maximum acceptable key length.

Filemode for the newly created file.

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

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

Reserved for future options.

Referenced by CRZParms().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 9 Oct 2019 for xrootd by  doxygen 1.6.1