private boolean storeConfig() { synchronized (this) { try { Config config = m_configDao.createLocal(); config.setId(m_configId); config.setKeyId(m_configId); config.setName(CONFIG_NAME); config.setContent(m_thirdPartyConfig.toString()); m_configDao.updateByPK(config, ConfigEntity.UPDATESET_FULL); } catch (Exception e) { Cat.logError(e); return false; } } return true; }
public List<Http> queryHttps() { return m_thirdPartyConfig.getHttps(); }
public List<Socket> querSockets() { return m_thirdPartyConfig.getSockets(); }