KeepRefereeOptionsBuilder
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Defined in: src/cluster/downing/KeepRefereeOptions.ts:22
Fluent builder for KeepRefereeOptionsType:
new KeepReferee( KeepRefereeOptions.create().withRefereeAddress('sys@10.0.0.1:2551'),);Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new KeepRefereeOptionsBuilder():
KeepRefereeOptionsBuilder
Returns
Section titled “Returns”KeepRefereeOptionsBuilder
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”build()
Section titled “build()”build():
Partial<T>
Defined in: src/util/OptionsBuilder.ts:51
Snapshot the set fields as an independent Partial<T> (own props only).
Returns
Section titled “Returns”Partial<T>
Inherited from
Section titled “Inherited from”withDownAllIfBelowQuorum()
Section titled “withDownAllIfBelowQuorum()”withDownAllIfBelowQuorum(
count):this
Defined in: src/cluster/downing/KeepRefereeOptions.ts:34
Down everyone if the referee side has fewer than this many members.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”this
withRefereeAddress()
Section titled “withRefereeAddress()”withRefereeAddress(
refereeAddress):this
Defined in: src/cluster/downing/KeepRefereeOptions.ts:29
Fixed referee address; the partition containing it survives.
Parameters
Section titled “Parameters”refereeAddress
Section titled “refereeAddress”string
Returns
Section titled “Returns”this
create()
Section titled “create()”
staticcreate():KeepRefereeOptionsBuilder
Defined in: src/cluster/downing/KeepRefereeOptions.ts:24
Start a fresh builder.
Returns
Section titled “Returns”KeepRefereeOptionsBuilder
