Questa pagina fornisce esempi di codice in Java per l'utilizzo del API Memcache di basso livello. Memcache è un sistema distribuito di memorizzazione nella cache di oggetti in memoria, che fornisce rapido accesso ai dati memorizzati nella cache. Per scoprire di più su memcache, leggi il Panoramica di Memcache.
Utilizzo sincrono
Esempio di API di basso livello che utilizza l'MemcacheService
sincrona:
Utilizzo asincrono
Esempio di API di basso livello che utilizza AsyncMemcacheService
:
Per ulteriori informazioni sull'API di basso livello, consulta JavaScript memcache.