Class List Method List File List

# Class: Vertx::FileSystemProps

Inherits:
  Object
  - Object
  - Vertx::FileSystemProps
  show all
Defined in:
  /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/vertx/file_system_props.rb

## Overview

Represents properties of the file system.

## Instance Method Summary (collapse)

- - (Fixnum) total_space
  @return The total space on the file system, in bytes.
- - (Fixnum) unallocated_space
  @return The total un-allocated space on the file system, in bytes.
- - (Fixnum) usable_space
  @return The total usable space on the file system, in bytes.

## Instance Method Details

### - (`Fixnum`) total_space

@return The total space on the file system, in bytes

Returns:

- (`Fixnum`)

Raises:

- (`ArgumentError`)

    18
    19
    20
    21
    22
    23
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/vertx/file_system_props.rb', line 18

    def total_space
      if !block_given?
        return @j_del.java_method(:totalSpace, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling total_space()"
    end

### - (`Fixnum`) unallocated_space

@return The total un-allocated space on the file system, in bytes

Returns:

- (`Fixnum`)

Raises:

- (`ArgumentError`)

    26
    27
    28
    29
    30
    31
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/vertx/file_system_props.rb', line 26

    def unallocated_space
      if !block_given?
        return @j_del.java_method(:unallocatedSpace, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling unallocated_space()"
    end

### - (`Fixnum`) usable_space

@return The total usable space on the file system, in bytes

Returns:

- (`Fixnum`)

Raises:

- (`ArgumentError`)

    34
    35
    36
    37
    38
    39
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/src/main/resources/vertx/file_system_props.rb', line 34

    def usable_space
      if !block_given?
        return @j_del.java_method(:usableSpace, []).call()
      end
      raise ArgumentError, "Invalid arguments when calling usable_space()"
    end