Class: Nl::Linux::TcpMetrics
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::TcpMetrics
- Defined in:
- nl-linux/generated/nl/linux/tcp_metrics.rb
Overview
Management interface for TCP metrics.
Defined Under Namespace
Modules: AttributeSets, Constants, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"tcp_metrics"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_del(**args) ⇒ void
Delete metrics.
-
#do_get(**args) ⇒ Messages::DoGetReply
Retrieve metrics.
-
#dump_get(**args, &block) ⇒ Object
Retrieve metrics.
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ TcpMetrics .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/tcp_metrics.rb', line 26 def self.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) super end |
Instance Method Details
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
591 592 593 594 |
# File 'nl-linux/generated/nl/linux/tcp_metrics.rb', line 591 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_del(**args) ⇒ void
This method returns an undefined value.
Delete metrics.
Requires CAP_NET_ADMIN in the initial user namespace.
544 545 546 |
# File 'nl-linux/generated/nl/linux/tcp_metrics.rb', line 544 def do_del(**args) (:"do", Messages::DoDelRequest, nil, args) end |
#do_get(**args) ⇒ Messages::DoGetReply
Retrieve metrics.
514 515 516 |
# File 'nl-linux/generated/nl/linux/tcp_metrics.rb', line 514 def do_get(**args) (:"do", Messages::DoGetRequest, Messages::DoGetReply, args) end |
#dump_get(**args) ⇒ Array<Messages::DumpGetReply> #dump_get(**args) {|reply| ... } ⇒ void
Retrieve metrics.
530 531 532 |
# File 'nl-linux/generated/nl/linux/tcp_metrics.rb', line 530 def dump_get(**args, &block) (:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args, &block) end |