Class: Proxy::DHCP::KeaApi::SubnetService::Staging
- Inherits:
-
Object
- Object
- Proxy::DHCP::KeaApi::SubnetService::Staging
- Defined in:
- lib/smart_proxy_dhcp_kea_api/dhcp_kea_api_subnet_service.rb
Overview
Holds the data fetched during a reload before it is atomically swapped into the live cache. Wraps a throwaway parent SubnetService (for its thread-safe stores and lookup helpers) plus the Kea-specific maps, so the loaders can populate it exactly as they would the live object.
Instance Attribute Summary collapse
-
#kea_id_map ⇒ Object
readonly
Returns the value of attribute kea_id_map.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
-
#subnet_options ⇒ Object
readonly
Returns the value of attribute subnet_options.
Instance Method Summary collapse
- #initialize ⇒ void constructor
Constructor Details
Instance Attribute Details
#kea_id_map ⇒ Object (readonly)
Returns the value of attribute kea_id_map.
26 27 28 |
# File 'lib/smart_proxy_dhcp_kea_api/dhcp_kea_api_subnet_service.rb', line 26 def kea_id_map @kea_id_map end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
26 27 28 |
# File 'lib/smart_proxy_dhcp_kea_api/dhcp_kea_api_subnet_service.rb', line 26 def service @service end |
#subnet_options ⇒ Object (readonly)
Returns the value of attribute subnet_options.
26 27 28 |
# File 'lib/smart_proxy_dhcp_kea_api/dhcp_kea_api_subnet_service.rb', line 26 def @subnet_options end |