Go to the documentation of this file.
63 virtual bool AddItem(
void *newdata,
void *olddata,
const char *key,
64 int hash=0,
bool replace=
false) = 0;
84 virtual bool Attach(
int tout,
bool isrw=
false) = 0;
147 virtual bool DelItem(
void *data,
const char *key,
int hash=0) = 0;
176 virtual bool Enumerate(
void *&jar,
char *&key,
void *&val) = 0;
229 virtual int Info(
const char *vname,
char *buff=0,
int blen=0) = 0;
246 virtual bool GetItem(
void *data,
const char *key,
int hash=0) = 0;
326 virtual bool Sync(
bool dosync,
bool syncdo=
false) = 0;
337 virtual bool Sync(
int synqsz) = 0;
Definition: XrdSsiShMat.hh:100
int typeSz
Size of the type in bytes.
Definition: XrdSsiShMat.hh:280
Definition: XrdSsiShMat.hh:277
virtual bool DelItem(void *data, const char *key, int hash=0)=0
char * shmType
Definition: XrdSsiShMat.hh:362
int shmTypeSz
Definition: XrdSsiShMat.hh:363
virtual bool Enumerate(void *&jar)=0
char rsvd[6]
Reserved for future options.
Definition: XrdSsiShMat.hh:112
signed char reUse
Definition: XrdSsiShMat.hh:108
virtual void Detach()=0
Detach the map from the shared memory.
char * shmImpl
Definition: XrdSsiShMat.hh:360
signed char multW
Definition: XrdSsiShMat.hh:104
virtual bool Enumerate(void *&jar, char *&key, void *&val)=0
~CRZParms()
Definition: XrdSsiShMat.hh:117
char * shmPath
Definition: XrdSsiShMat.hh:361
const char * path
The path to the backing file for the table.
Definition: XrdSsiShMat.hh:278
virtual bool Attach(int tout, bool isrw=false)=0
virtual bool Create(CRZParms &parms)=0
int shmHash
Definition: XrdSsiShMat.hh:364
int maxKLen
The maximum acceptable key length.
Definition: XrdSsiShMat.hh:102
virtual int Info(const char *vname, char *buff=0, int blen=0)=0
const char * typeID
The name of the type associated with the key.
Definition: XrdSsiShMat.hh:279
virtual bool GetItem(void *data, const char *key, int hash=0)=0
virtual bool Resize(CRZParms &parms)=0
virtual bool Sync(bool dosync, bool syncdo=false)=0
Definition: XrdSsiShMat.hh:42
virtual bool Sync(int synqsz)=0
int hashID
The hash being used (0 means the default)
Definition: XrdSsiShMat.hh:281
int maxKeys
Maximum number of keys-value pairs expected in table.
Definition: XrdSsiShMat.hh:101
XrdSsiShMat(NewParms &parms)
Constructor (arguments the same as for New())
Definition: XrdSsiShMat.hh:343
int indexSz
Number of four byte hash table entries to create.
Definition: XrdSsiShMat.hh:100
virtual ~XrdSsiShMat()
Destructor. Warning, your destructor should call your own Detach()!
Definition: XrdSsiShMat.hh:353
static XrdSsiShMat * New(NewParms &parms)
int mode
Filemode for the newly created file.
Definition: XrdSsiShMat.hh:103
virtual bool AddItem(void *newdata, void *olddata, const char *key, int hash=0, bool replace=false)=0
const char * impl
Implementation name.
Definition: XrdSsiShMat.hh:277
CRZParms()
Definition: XrdSsiShMat.hh:114