330331332333334335336337
{ callback.get(10, TimeUnit.SECONDS); } catch (Exception e) { throw new PropertyStoreException(e); } }
344345346347348349350351
152153154155156157158159
{ return _zk.getChildren(_path, false); } catch (Exception e) { throw new PropertyStoreException("Failed to list children of path " + _path, e); } }
690691692693694695696697
store.start(callback); callback.get(30, TimeUnit.SECONDS); } catch (Exception e) { throw new PropertyStoreException("Failed to start store", e); } }
180181182183184185186187
} } catch (Exception e) { LOG.error("Exception in creatPropertyNamespace(" + prefix + ")", e); throw new PropertyStoreException(e.toString()); } }
207208209210211212213214
} catch (Exception e) { LOG.error("Exception when setProperty(" + key + ", " + value + ")", e); throw new PropertyStoreException(e.toString()); } }
285286287288289290291292
return value; } catch (Exception e) { LOG.error("Exception in getProperty(" + key + ")", e); throw (new PropertyStoreException(e.toString())); } }
311312313314315316317318
// OK } catch (Exception e) { LOG.error("Exception in removeProperty(" + key + ")", e); throw (new PropertyStoreException(e.toString())); } }
348349350351352353354355
// OK } catch (Exception e) { LOG.error("Exception in removeProperty(" + prefix + ")", e); throw (new PropertyStoreException(e.toString())); } }
402403404405406407408
} @Override public void setPropertyDelimiter(String delimiter) throws PropertyStoreException { throw new PropertyStoreException("setPropertyDelimiter() not implemented for ZKPropertyStore"); }