Class: Quark::DatawireMdkMd::MdkDiscoveryCircuitBreaker
- Inherits:
-
Object
- Object
- Quark::DatawireMdkMd::MdkDiscoveryCircuitBreaker
- Extended by:
- DatawireQuarkCore::Static
- Defined in:
- lib/datawire_mdk_md.rb
Constant Summary
Constants included from DatawireQuarkCore::Static
DatawireQuarkCore::Static::Unassigned
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
- #construct(args) ⇒ Object
-
#initialize ⇒ MdkDiscoveryCircuitBreaker
constructor
A new instance of MdkDiscoveryCircuitBreaker.
- #isAbstract ⇒ Object
Methods included from DatawireQuarkCore::Static
_lazy_statics, static, unlazy_statics
Constructor Details
#initialize ⇒ MdkDiscoveryCircuitBreaker
Returns a new instance of MdkDiscoveryCircuitBreaker.
40086 40087 40088 40089 40090 40091 40092 40093 40094 40095 40096 |
# File 'lib/datawire_mdk_md.rb', line 40086 def initialize() super("mdk_discovery.CircuitBreaker") (self).name = "mdk_discovery.CircuitBreaker" (self).parameters = ::DatawireQuarkCore::List.new([]) (self).fields = ::DatawireQuarkCore::List.new([::Quark.quark.reflect.Field.new("quark.Logger", "_log"), ::Quark.quark.reflect.Field.new("quark.int", "_threshold"), ::Quark.quark.reflect.Field.new("quark.float", "_delay"), ::Quark.quark.reflect.Field.new("mdk_runtime.Time", "_time"), ::Quark.quark.reflect.Field.new("quark.concurrent.Lock", "_mutex"), ::Quark.quark.reflect.Field.new("quark.bool", "_failed"), ::Quark.quark.reflect.Field.new("quark.int", "_failures"), ::Quark.quark.reflect.Field.new("quark.float", "_lastFailure")]) (self).methods = ::DatawireQuarkCore::List.new([::Quark.datawire_mdk_md.mdk_discovery_CircuitBreaker_success_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_CircuitBreaker_failure_Method.new(), ::Quark.datawire_mdk_md.mdk_discovery_CircuitBreaker_available_Method.new()]) (self).parents = ::DatawireQuarkCore::List.new(["quark.Object"]) nil end |
Instance Method Details
#__init_fields__ ⇒ Object
40136 40137 40138 40139 40140 40141 |
# File 'lib/datawire_mdk_md.rb', line 40136 def __init_fields__() super nil end |
#_getClass ⇒ Object
40115 40116 40117 40118 40119 40120 |
# File 'lib/datawire_mdk_md.rb', line 40115 def _getClass() return ::DatawireQuarkCore.cast(nil) { ::String } nil end |
#_getField(name) ⇒ Object
40122 40123 40124 40125 40126 40127 |
# File 'lib/datawire_mdk_md.rb', line 40122 def _getField(name) return nil nil end |
#_setField(name, value) ⇒ Object
40129 40130 40131 40132 40133 40134 |
# File 'lib/datawire_mdk_md.rb', line 40129 def _setField(name, value) nil nil end |
#construct(args) ⇒ Object
40101 40102 40103 40104 40105 40106 |
# File 'lib/datawire_mdk_md.rb', line 40101 def construct(args) return ::Quark.mdk_discovery.CircuitBreaker.new(::DatawireQuarkCore.cast((args)[0]) { ::Quark.mdk_runtime.Time }, ::DatawireQuarkCore.cast((args)[1]) { ::Integer }, ::DatawireQuarkCore.cast((args)[2]) { ::Float }) nil end |
#isAbstract ⇒ Object
40108 40109 40110 40111 40112 40113 |
# File 'lib/datawire_mdk_md.rb', line 40108 def isAbstract() return false nil end |