コード例 #1
0
 @Override
 public void removePartial(String listenTo, String discoveryProperties)
     throws PropertyStoreException {
   try {
     _store.removePartial(
         listenTo, _store.getSerializer().fromBytes(discoveryProperties.getBytes("UTF-8")));
   } catch (PropertySerializationException e) {
     throw new PropertyStoreException(e);
   } catch (UnsupportedEncodingException e) {
     throw new RuntimeException("UTF-8 should never fail", e);
   }
 }
コード例 #2
0
 @Override
 public int getListenerCount() {
   return _store.getListenerCount();
 }