use_flush = Util.parseBoolean(props, "use_flush", false); flush_promise=new Promise();
use_flush = Util.parseBoolean(props, "use_flush", false);
   public boolean setProperties(Properties props)   {      super.setProperties(props);      use_flush = Util.parseBoolean(props, "use_flush", false);      flush_promise=new Promise();            flush_timeout = Util.parseLong(props, "flush_timeout", flush_timeout);            try      {         bind_addr = Util.parseBindAddress(props, "bind_addr");      }      catch (UnknownHostException e)      {         log.error("(bind_addr): host " + e.getLocalizedMessage() + " not known");         return false;      }      bind_port = Util.parseInt(props, "start_port", 0);      socket_buffer_size = Util.parseInt(props, "socket_buffer_size", 8 * 1024); //8K      max_pool = Util.parseInt(props, "max_pool", 5);      pool_thread_keep_alive = Util.parseLong(props, "pool_thread_keep_alive", 1000 * 30); //30 sec      use_reading_thread = Util.parseBoolean(props, "use_reading_thread", false);      if (props.size() > 0)      {         log.error("the following properties are not recognized: " + props);         return false;      }      return true;   }