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