Esempio n. 1
0
 public boolean delete(String s) {
   try {
     return this._client.delete(s);
   } catch (Exception e) {
     LOG.info(e.getMessage());
   }
   return false;
 }
Esempio n. 2
0
 public <T> boolean cas(String key, int i, CASOperation<T> tcasOperation) {
   try {
     return this._client.cas(key, i, tcasOperation);
   } catch (Exception e) {
     LOG.info(e.getMessage());
   }
   return false;
 }
Esempio n. 3
0
 public boolean cas(String key, int i, Object o, long l) {
   try {
     return this._client.cas(key, i, o, l);
   } catch (Exception e) {
     LOG.info(e.getMessage());
   }
   return false;
 }
Esempio n. 4
0
 public boolean add(String key, int i, Object o) {
   try {
     return this._client.add(key, i, o);
   } catch (Exception e) {
     LOG.info(e.getMessage());
   }
   return false;
 }
Esempio n. 5
0
 public <T> net.rubyeye.xmemcached.GetsResponse<T> gets(String key, Transcoder transcoder) {
   try {
     return this._client.gets(key, transcoder);
   } catch (Exception e) {
     LOG.info(e.getMessage());
   }
   return null;
 }
Esempio n. 6
0
 public Object get(String s) {
   try {
     return this._client.get(s);
   } catch (Exception e) {
     LOG.info(e.getMessage());
   }
   return null;
 }