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); }
public String watch(String key) { client.watch(key); return client.getStatusCodeReply(); }