Class: Nl::Linux::Nfsd::Messages::DoThreadsSetRequest
Overview
set the maximum number of running threads
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary
collapse
- TYPE =
2
nil
- ATTRIBUTE_SET =
AttributeSets::Server
- ATTRIBUTES =
Ractor.make_shareable(%i[threads gracetime leasetime scope min_threads fh_key])
Instance Attribute Summary
#attributes, #fixed_header
Instance Method Summary
collapse
decode
#append_attribute, decode, #initialize
#encode, #initialize
Instance Method Details
#fh_key ⇒ String
1365
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1365
def fh_key; attributes[:"fh_key"]&.value; end
|
#gracetime ⇒ Integer
1349
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1349
def gracetime; attributes[:"gracetime"]&.value; end
|
#leasetime ⇒ Integer
1353
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1353
def leasetime; attributes[:"leasetime"]&.value; end
|
#min_threads ⇒ Integer
1361
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1361
def min_threads; attributes[:"min_threads"]&.value; end
|
#scope ⇒ String
1357
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1357
def scope; attributes[:"scope"]&.value; end
|
#threads ⇒ Array<Integer>
1345
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1345
def threads; attributes[:"threads"].map(&:value); end
|