Warning: session_start(): open(/var/lib/php/sessions/sess_5e6cjq4tsbi6v86ilsfhle3org, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
svoid metaMapPut(IMeta o, O key, O value) {
if (o == null || key == null) ret;
Map map = convertObjectMetaToMap(o);
syncMapPutOrRemove(map, key, value);
}
// untested...
/*svoid metaMapPut(IMeta o, O key, O value, IMapImplementationPolicy policy) {
if (o == null || key == null) ret;
if (policy == null) ret with metaMapPut(o, key, value);
// no shortcuts in this function, always get mutex & lock
temp var mutex = tempMetaMutex(o);
synchronized(mutex!) {
O meta = o._getMeta();
// create map if necessary
Map map = null;
if (meta cast Map)
map = meta;
else if (meta != null)
map = policy.put(map, previousMeta := meta);
// putOrRemove through policy
if (value != null)
map = policy.put(map, key, value);
else
map = policy.remove(map, key);
if (map != meta) o._setMeta(map);
}
}*/