Class: Nl::Linux::Nfsd::AttributeSets::Server
Defined Under Namespace
Classes: Attribute, FhKey, Gracetime, Leasetime, MinThreads, Scope, Threads
Constant Summary
Constants inherited
from AttributeSet
AttributeSet::SELECTOR_NAMES
Class Method Summary
collapse
Instance Method Summary
collapse
#<<, #[], build_attributes, decode, #encode, #initialize
Class Method Details
Looks up Attribute class by name.
381
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 381
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
387
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 387
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#fh_key ⇒ String
374
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 374
def fh_key; self[:"fh_key"]&.value; end
|
#gracetime ⇒ Integer
358
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 358
def gracetime; self[:"gracetime"]&.value; end
|
#leasetime ⇒ Integer
362
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 362
def leasetime; self[:"leasetime"]&.value; end
|
#min_threads ⇒ Integer
370
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 370
def min_threads; self[:"min_threads"]&.value; end
|
#scope ⇒ String
366
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 366
def scope; self[:"scope"]&.value; end
|
#threads ⇒ Array<Integer>
354
|
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 354
def threads; self[:"threads"].map(&:value); end
|