Class: UU::ObjectStore::ObjectStoreControl::ObjectStoreAttributes

Inherits:
UU::OS::REST::DTO
  • Object
show all
Defined in:
uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb

Overview

DTO representing object store attributes.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from UU::OS::REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (String) code

Code of the object store.

Returns:

  • (String)


21
22
23
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 21

def code
  @code
end

- (Fixnum) current_size

Current size of the object store (in megabytes). Size includes not only size of stored uuObjects and object schemas but also size of corresponding indexes and internal meta-data.

Returns:

  • (Fixnum)


39
40
41
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 39

def current_size
  @current_size
end

- (String) description

Description of the object store.

Returns:

  • (String)


25
26
27
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 25

def description
  @description
end

- (Fixnum) max_size

Maximum size of the object store (in megabytes).

Returns:

  • (Fixnum)


33
34
35
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 33

def max_size
  @max_size
end

- (Fixnum) min_size

Minimal size of the object store (in megabytes).

Returns:

  • (Fixnum)


29
30
31
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 29

def min_size
  @min_size
end

- (String) name

Name of the object store.

Returns:

  • (String)


17
18
19
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 17

def name
  @name
end

- (Fixnum) object_schema_count

Current count of object schemas in the object store.

Returns:

  • (Fixnum)


43
44
45
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 43

def object_schema_count
  @object_schema_count
end

- (UU::OS::UESURI) object_store_repository_uri

URI of object store repository to which object store belongs

Returns:



47
48
49
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 47

def object_store_repository_uri
  @object_store_repository_uri
end

- (UU::OS::UESURI) uri

URI of the object store.

Returns:



13
14
15
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_control/object_store_attributes.rb', line 13

def uri
  @uri
end