Class: Nl::Linux::Nfsd::Messages::DoThreadsGetReply

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/nfsd.rb

Overview

get the maximum number of running threads

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Server
ATTRIBUTES =
Ractor.make_shareable(%i[threads gracetime leasetime scope min_threads])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#gracetime ⇒ Integer

Returns:

  • (Integer)

See Also:



1387
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1387

def gracetime; attributes[:"gracetime"]&.value; end

#leasetime ⇒ Integer

Returns:

  • (Integer)

See Also:



1391
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1391

def leasetime; attributes[:"leasetime"]&.value; end

#min_threads ⇒ Integer

Returns:

  • (Integer)

See Also:



1399
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1399

def min_threads; attributes[:"min_threads"]&.value; end

#scope ⇒ String

Returns:

  • (String)

See Also:



1395
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1395

def scope; attributes[:"scope"]&.value; end

#threads ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



1383
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1383

def threads; attributes[:"threads"].map(&:value); end