Class: Vertx::FileSystemProps
- Inherits:
-
Object
- Object
- Vertx::FileSystemProps
show all
- Defined in:
- /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb
Overview
Represents properties of the file system.
Constant Summary
- @@j_api_type =
Object.new
Class Method Summary
(collapse)
Instance Method Summary
(collapse)
Class Method Details
+ (Boolean) accept?(obj)
18
19
20
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb', line 18
def @@j_api_type.accept?(obj)
obj.class == FileSystemProps
end
|
+ (Object) j_api_type
27
28
29
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb', line 27
def self.j_api_type
@@j_api_type
end
|
+ (Object) j_class
30
31
32
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb', line 30
def self.j_class
Java::IoVertxCoreFile::FileSystemProps.java_class
end
|
+ (Object) unwrap(obj)
24
25
26
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb', line 24
def @@j_api_type.unwrap(obj)
obj.j_del
end
|
+ (Object) wrap(obj)
21
22
23
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb', line 21
def @@j_api_type.wrap(obj)
FileSystemProps.new(obj)
end
|
Instance Method Details
- (Fixnum) totalSpace
Returns The total space on the file system, in bytes
59
60
61
62
63
64
65
66
67
68
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb', line 59
def total_space
if !block_given?
return @j_del.java_method(:totalSpace, []).call()
end
if defined?(super)
super
else
raise ArgumentError, "Invalid arguments when calling total_space()"
end
end
|
- (Fixnum) unallocatedSpace
Returns The total un-allocated space on the file system, in bytes
35
36
37
38
39
40
41
42
43
44
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb', line 35
def unallocated_space
if !block_given?
return @j_del.java_method(:unallocatedSpace, []).call()
end
if defined?(super)
super
else
raise ArgumentError, "Invalid arguments when calling unallocated_space()"
end
end
|
- (Fixnum) usableSpace
Returns The total usable space on the file system, in bytes
47
48
49
50
51
52
53
54
55
56
|
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/file_system_props.rb', line 47
def usable_space
if !block_given?
return @j_del.java_method(:usableSpace, []).call()
end
if defined?(super)
super
else
raise ArgumentError, "Invalid arguments when calling usable_space()"
end
end
|