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;
const char * typeID
The name of the type associated with the key.
const char * impl
Implementation name.
static XrdSsiShMat * New(NewParms &parms)
virtual bool DelItem(void *data, const char *key, int hash=0)=0
virtual bool Enumerate(void *&jar, char *&key, void *&val)=0
virtual bool Resize(CRZParms &parms)=0
const char * path
The path to the backing file for the table.
XrdSsiShMat(NewParms &parms)
Constructor (arguments the same as for New())
virtual ~XrdSsiShMat()
Destructor. Warning, your destructor should call your own Detach()!
virtual bool Attach(int tout, bool isrw=false)=0
int hashID
The hash being used (0 means the default)
virtual bool Create(CRZParms &parms)=0
virtual int Info(const char *vname, char *buff=0, int blen=0)=0
int typeSz
Size of the type in bytes.
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
char rsvd[6]
Reserved for future options.
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.
int indexSz
Number of four byte hash table entries to create.