KeyValueOptions

Options used to put key/value pair to Consul.

package

Default

Methods

KeyValueOptions constructor

__construct( $keyValueOptions = null) 

Arguments

$keyValueOptions

mixed | null

getAcquireSession

getAcquireSession() : string

Response

string

getCasIndex

getCasIndex() : integer

Response

integer

getFlags

getFlags() : integer

Response

integer

getReleaseSession

getReleaseSession() : string

Response

string

setAcquireSession

setAcquireSession( $acquireSession) : $this

Arguments

$acquireSession

string

Response

$this

setCasIndex

setCasIndex( $casIndex) : $this

Arguments

$casIndex

integer

Response

$this

setFlags

setFlags( $flags) : $this

Arguments

$flags

integer

Response

$this

setReleaseSession

setReleaseSession( $releaseSession) : $this

Arguments

$releaseSession

string

Response

$this