Example #1
0
 public void watch(final String... keys) {
   final byte[][] bargs = new byte[keys.length][];
   for (int i = 0; i < bargs.length; i++) {
     bargs[i] = SafeEncoder.encode(keys[i]);
   }
   watch(bargs);
 }
Example #2
0
 public String watch(String key) {
   client.watch(key);
   return client.getStatusCodeReply();
 }