commit class memcache