AddressResolverOptions

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

Methods

AddressResolverOptions constructor

__construct( $addressResolverOptions = null) 

Arguments

$addressResolverOptions

mixed | null

addSearchDomain

addSearchDomain( $searchDomains) : $this

Arguments

$searchDomains

string

Response

$this

addServer

addServer( $servers) : $this

Arguments

$servers

string

Response

$this

getCacheMaxTimeToLive

getCacheMaxTimeToLive() : integer

Response

integer

getCacheMinTimeToLive

getCacheMinTimeToLive() : integer

Response

integer

getCacheNegativeTimeToLive

getCacheNegativeTimeToLive() : integer

Response

integer

getHostsPath

getHostsPath() : string

Response

string

getHostsValue

getHostsValue() : \io\vertx\jphp\core\buffer\Buffer

getMaxQueries

getMaxQueries() : integer

Response

integer

getNdots

getNdots() : integer

Response

integer

getQueryTimeout

getQueryTimeout() : integer

Response

integer

getRdFlag

getRdFlag() : boolean

Response

boolean

getSearchDomains

getSearchDomains() : array

Response

array

getServers

getServers() : array

Response

array

isOptResourceEnabled

isOptResourceEnabled() : boolean

Response

boolean

isRotateServers

isRotateServers() : boolean

Response

boolean

setCacheMaxTimeToLive

setCacheMaxTimeToLive( $cacheMaxTimeToLive) : $this

Arguments

$cacheMaxTimeToLive

integer

Response

$this

setCacheMinTimeToLive

setCacheMinTimeToLive( $cacheMinTimeToLive) : $this

Arguments

$cacheMinTimeToLive

integer

Response

$this

setCacheNegativeTimeToLive

setCacheNegativeTimeToLive( $cacheNegativeTimeToLive) : $this

Arguments

$cacheNegativeTimeToLive

integer

Response

$this

setHostsPath

setHostsPath( $hostsPath) : $this

Arguments

$hostsPath

string

Response

$this

setHostsValue

setHostsValue( $hostsValue) : $this

Arguments

$hostsValue

Buffer

Response

$this

setMaxQueries

setMaxQueries( $maxQueries) : $this

Arguments

$maxQueries

integer

Response

$this

setNdots

setNdots( $ndots) : $this

Arguments

$ndots

integer

Response

$this

setOptResourceEnabled

setOptResourceEnabled( $optResourceEnabled) : $this

Arguments

$optResourceEnabled

boolean

Response

$this

setQueryTimeout

setQueryTimeout( $queryTimeout) : $this

Arguments

$queryTimeout

integer

Response

$this

setRdFlag

setRdFlag( $rdFlag) : $this

Arguments

$rdFlag

boolean

Response

$this

setRotateServers

setRotateServers( $rotateServers) : $this

Arguments

$rotateServers

boolean

Response

$this

setSearchDomains

setSearchDomains( $searchDomains) : $this

Arguments

$searchDomains

string

Response

$this

setServers

setServers( $servers) : $this

Arguments

$servers

string

Response

$this