/** * Retrieve the ask timeout duration: the duration to wait for entity shard regions. * * @return the ask timeout duration. */ public Duration askTimeout() { return getIfPresent("ask-timeout", config::getDuration).orElse(DEFAULT_ASK_TIMEOUT); }
/** * Retrieve a configuration reader for enforcement settings. * * @return the configuration reader. */ public EnforcementConfigReader enforcement() { return new EnforcementConfigReader(getChild(PATH_ENFORCEMENT)); }
aclEnforcerCache)); final Duration enforcementAskTimeout = configReader.enforcement().askTimeout();
/** * Retrieve a configuration reader for enforcement settings. * * @return the configuration reader. */ public EnforcementConfigReader enforcement() { return new EnforcementConfigReader(getChild(PATH_ENFORCEMENT)); }
/** * Retrieve the ask timeout duration: the duration to wait for entity shard regions. * * @return the ask timeout duration. */ public Duration askTimeout() { return getIfPresent("ask-timeout", config::getDuration).orElse(DEFAULT_ASK_TIMEOUT); }