Class: Nicos::Connector::Config
- Inherits:
-
Object
- Object
- Nicos::Connector::Config
show all
- Defined in:
- lib/config/wait.rb
Constant Summary
collapse
- @@waitConfigDefault =
@@waitConfig = {
:seqAccLimit => 10, :afterSeq => 10, :each => 1, :increment => 1, :deniedSeqReq=> { :retryLimit => 3, :wait => 120 },
:serverIsBusy=> { :retryLimit => 3,
:wait => 120
},
:serviceUnavailable => { :retryLimit => 3,
:wait => 120
},
:timedOut => { :retryLimit => 3,
:wait => 10
}
}
Class Method Summary
collapse
Class Method Details
.setWait(waitConfig) ⇒ Object
40
41
42
43
44
45
46
47
48
49
50
51
|
# File 'lib/config/wait.rb', line 40
def Config.setWait(waitConfig)
case waitConfig
when :default
@@waitConfig = @@waitConfigDefault
when nil
else
@@waitConfig = mixinND(
@@waitConfig,
waitConfig
)
end
end
|
.setWaitDefault(waitConfig) ⇒ Object
33
34
35
36
37
38
|
# File 'lib/config/wait.rb', line 33
def Config.setWaitDefault(waitConfig)
@@waitConfigDefault = mixinND(
@@waitConfigDefault,
waitConfig
)
end
|