Configuration options for Vert.x hostname resolver. The resolver uses the local <i>hosts</i> file and performs DNS <i>A</i> and <i>AAAA</i> queries.
package |
Default |
---|
__construct( $addressResolverOptions = null)
mixed | null
addSearchDomain( $searchDomains) : $this
string
$this
addServer( $servers) : $this
string
$this
getCacheMaxTimeToLive() : integer
integer
getCacheMinTimeToLive() : integer
integer
getCacheNegativeTimeToLive() : integer
integer
getHostsPath() : string
string
getHostsValue() : \io\vertx\jphp\core\buffer\Buffer
getMaxQueries() : integer
integer
getNdots() : integer
integer
getQueryTimeout() : integer
integer
getRdFlag() : boolean
boolean
getSearchDomains() : array
array
getServers() : array
array
isOptResourceEnabled() : boolean
boolean
isRotateServers() : boolean
boolean
setCacheMaxTimeToLive( $cacheMaxTimeToLive) : $this
integer
$this
setCacheMinTimeToLive( $cacheMinTimeToLive) : $this
integer
$this
setCacheNegativeTimeToLive( $cacheNegativeTimeToLive) : $this
integer
$this
setHostsPath( $hostsPath) : $this
string
$this
setHostsValue( $hostsValue) : $this
Buffer
$this
setMaxQueries( $maxQueries) : $this
integer
$this
setNdots( $ndots) : $this
integer
$this
setOptResourceEnabled( $optResourceEnabled) : $this
boolean
$this
setQueryTimeout( $queryTimeout) : $this
integer
$this
setRdFlag( $rdFlag) : $this
boolean
$this
setRotateServers( $rotateServers) : $this
boolean
$this
setSearchDomains( $searchDomains) : $this
string
$this
setServers( $servers) : $this
string
$this