Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
We then build the index and store it to Memcache for fast read access.
//Build the index.;
//Write the index to Memcache.
MemcacheService syncCache = MemcacheServiceFactory.getMemcacheService();
//Last param is expiration date. Set to null to keep it in Memcache forever.
syncCache.put(group, index, null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.