5253545556575859606162636465
} @Override public List<String> removeGroup(SCGroup group) throws Exception { SCClient client = getClient(); try { return (client != null) ? client.removeGroup(group) : new ArrayList<String>(); } finally { releaseClient(client); }
6667686970717273747576777879
} @Override public List<String> listGroup(SCGroup group) throws Exception { SCClient client = getClient(); try { return (client != null) ? client.listGroup(group) : new ArrayList<String>(); } finally { releaseClient(client); }
8081828384858687888990919293
} @Override public List<String> dumpStats(boolean verbose) throws Exception { SCClient client = getClient(); try { return (client != null) ? client.dumpStats(verbose) : new ArrayList<String>(); } finally { releaseClient(client); }
949596979899100101102103104105106107
} @Override public List<String> stackTrace() throws Exception { SCClient client = getClient(); try { return (client != null) ? client.stackTrace() : new ArrayList<String>(); } finally { releaseClient(client); }
108109110111112113114115116117118119120121
} @Override public List<String> getConnectionList() throws Exception { SCClient client = getClient(); try { return (client != null) ? client.getConnectionList() : new ArrayList<String>(); } finally { releaseClient(client); }
122123124125126127128129130131132133134135
} @Override public List<String> regExRemove(String expression) throws Exception { SCClient client = getClient(); try { return (client != null) ? client.regExRemove(expression) : new ArrayList<String>(); } finally { releaseClient(client); }
136137138139140141142143144145146147148149150151
} @Override public void writeKeyData(String fPath) throws Exception { SCClient client = getClient(); try { if ( client != null ) { client.writeKeyData(fPath); } } finally { releaseClient(client);
153154155156157158159160161162163164165166
} @Override public long getTTL(String key) throws Exception { SCClient client = getClient(); try { return (client != null) ? client.getTTL(key) : 0; } finally { releaseClient(client); }
167168169170171172173174175176177178179180
} @Override public ChunkedByteArray get(String key, boolean ignoreTTL) throws Exception { SCClient client = getClient(); try { return (client != null) ? client.get(key, ignoreTTL) : null; } finally { releaseClient(client); }
187188189190191192193194195196197198199200201202
} @Override public void put(String key, SCDataSpec data, SCGroupSpec groups) throws Exception { SCClient client = getClient(); try { if ( client != null ) { client.put(key, data, groups); } } finally { releaseClient(client);