Class: Nl::Linux::Nfsd::AttributeSets::UnlockExport

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/nfsd.rb

Defined Under Namespace

Classes: Attribute, Path

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



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

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#path ⇒ String

Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.

Returns:

  • (String)

See Also:



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

def path; self[:"path"]&.value; end