Class: MintPress::OracleTrafficDirector::FileCache
- Inherits:
-
Object
- Object
- MintPress::OracleTrafficDirector::FileCache
- Includes:
- MintLogger, Mixins::Properties, OtdCommon
- Defined in:
- src/oracle-otd/lib/oracle-otd/generated/file_cache.rb
Overview
Properties (Read/Write)
-
#name ⇒ String
Property Attributes27
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 27 property :name, type: String
-
#configuration ⇒ [MintPress::OracleTrafficDirector::Configuration]
'Name of the configuration.'
Property Attributes- set_prop ⇒ true
- from ⇒ String
30
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 30 property :configuration, description: 'Name of the configuration.', set_prop: true, type: [MintPress::OracleTrafficDirector::Configuration], from: String
-
#enabled ⇒ String
'Indicates whether the server caches the file content and meta information. Default: true'
Property Attributes- set_prop ⇒ true
33 34
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 33 property :enabled, description: 'Indicates whether the server caches the file content and meta information. Default: true', set_prop: true, type: String
-
#max_age ⇒ Float
'The maximum amount of time (in seconds) to cache the file content and/or meta information. Range of values: the range of values is 0.001-3600. Default: 30.'
Property Attributes- set_prop ⇒ true
38 39 40
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 38 property :max_age, description: 'The maximum amount of time (in seconds) to cache the file content and/or meta information. Range of values: the range of values is 0.001-3600. Default: 30.', set_prop: true, type: Float
-
#max_entries ⇒ Integer
'The maximum number of paths for which the file content and/or meta information should be cached. Range of values: 1 - 1073741824 Default: 1024.'
Property Attributes- set_prop ⇒ true
44 45 46
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 44 property :max_entries, description: 'The maximum number of paths for which the file content and/or meta information should be cached. Range of values: 1 - 1073741824 Default: 1024.', set_prop: true, type: Integer
-
#max_open_files ⇒ Integer
'The maximum number of file descriptors the file cache will keep open. Range of values: 1 - 1073741824.'
Property Attributes- set_prop ⇒ true
49 50
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 49 property :max_open_files, description: 'The maximum number of file descriptors the file cache will keep open. Range of values: 1 - 1073741824.', set_prop: true, type: Integer
-
#sendfile ⇒ String
'Indicates whether the server will attempt to use the operating systems sendfile, sendfilev, send_file, or TransmitFile system call. The default value is true on Windows and false on other platforms.'
Property Attributes- set_prop ⇒ true
53 54
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 53 property :sendfile, description: 'Indicates whether the server will attempt to use the operating systems sendfile, sendfilev, send_file, or TransmitFile system call. The default value is true on Windows and false on other platforms.', set_prop: true, type: String
-
#copy_files ⇒ String
'Indicates whether the server copies the cached files to a temporary directory. The default value is true on Windows and false on other platforms.'
Property Attributes- set_prop ⇒ true
57 58
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 57 property :copy_files, description: 'Indicates whether the server copies the cached files to a temporary directory. The default value is true on Windows and false on other platforms.', set_prop: true, type: String
-
#copy_path ⇒ String
'The name of the temporary directory that the server uses when copy-files is true.'
Property Attributes- set_prop ⇒ true
60
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 60 property :copy_path, description: 'The name of the temporary directory that the server uses when copy-files is true.', set_prop: true, type: String
-
#replacement ⇒ String
'The cache entry replacement algorithm. The values can be false,lru, or lfu. Default: lru.'
Property Attributes- set_prop ⇒ true
64 65 66
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 64 property :replacement, description: 'The cache entry replacement algorithm. The values can be false,lru, or lfu. Default: lru.', set_prop: true, type: String
-
#cache_content ⇒ String
'Indicates whether the server caches the file content. Default: true'
Property Attributes- set_prop ⇒ true
69 70
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 69 property :cache_content, description: 'Indicates whether the server caches the file content. Default: true', set_prop: true, type: String
-
#max_heap_file_size ⇒ Integer
'The maximum size (in bytes) of files to cache on the heap. Range of values: 0-2147483647. Default: 524288.'
Property Attributes- set_prop ⇒ true
74 75 76
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 74 property :max_heap_file_size, description: 'The maximum size (in bytes) of files to cache on the heap. Range of values: 0-2147483647. Default: 524288.', set_prop: true, type: Integer
-
#max_heap_space ⇒ Integer
'The maximum amount (in bytes) of heap to use for caching files. Range of values: 0-9223372036854775807. Default: 10485760.'
Property Attributes- set_prop ⇒ true
80 81 82
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 80 property :max_heap_space, description: 'The maximum amount (in bytes) of heap to use for caching files. Range of values: 0-9223372036854775807. Default: 10485760.', set_prop: true, type: Integer
-
#max_mmap_file_size ⇒ Integer
'The maximum size (in bytes) of files to mmap. Range of values: 0-2147483647. Default: 0.'
Property Attributes- set_prop ⇒ true
86 87 88
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 86 property :max_mmap_file_size, description: 'The maximum size (in bytes) of files to mmap. Range of values: 0-2147483647. Default: 0.', set_prop: true, type: Integer
-
#max_mmap_space ⇒ Integer
'The maximum amount (in bytes) of mmap address space to use for caching files. Range of values: 0-9223372036854775807. Default: 0.'
Property Attributes- set_prop ⇒ true
92 93 94
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 92 property :max_mmap_space, description: 'The maximum amount (in bytes) of mmap address space to use for caching files. Range of values: 0-9223372036854775807. Default: 0.', set_prop: true, type: Integer
-
#buffer_size ⇒ Integer
'Size of the input/output buffer used on cache misses. Range of values: 512-1048576. Default: 8192.'
Property Attributes- set_prop ⇒ true
98 99 100
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 98 property :buffer_size, description: 'Size of the input/output buffer used on cache misses. Range of values: 512-1048576. Default: 8192.', set_prop: true, type: Integer
-
#sendfile_size ⇒ Integer
'A hint to send the file in chunks of at most this value Range of values: 0-2147483647. Default: 0.'
Property Attributes- set_prop ⇒ true
104 105 106
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 104 property :sendfile_size, description: 'A hint to send the file in chunks of at most this value Range of values: 0-2147483647. Default: 0.', set_prop: true, type: Integer
-
#parent ⇒ MintPress::OracleTrafficDirector::Configuration
Property Attributes107
# File 'src/oracle-otd/lib/oracle-otd/generated/file_cache.rb', line 107 property :parent, type: MintPress::OracleTrafficDirector::Configuration
Properties (Read Only)
Constant Summary collapse
- MODEL_PARENTS =
["configuration"]
- LIST_PARAMS =
nil
- GET_PARAMS =
["configuration"]
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary collapse
-
#get_params ⇒ Object
Returns the value of attribute get_params.
-
#list_params ⇒ Object
Returns the value of attribute list_params.
-
#model_parents ⇒ Object
Returns the value of attribute model_parents.
Attributes included from Mixins::Properties
#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root
Attributes included from OtdCommon
Instance Method Summary collapse
- #create ⇒ Object
- #destroy ⇒ Object
- #exist? ⇒ Boolean
-
#initialize(opts = {}) ⇒ FileCache
constructor
A new instance of FileCache.
Methods included from Mixins::Properties
#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Methods included from OtdCommon
#can_exist?, #creator_available?, #delete_generic, #delete_props, #destroy_generic, #disable_props, #empty_mbean?, #enable_prop_generic, #enable_props, #exist_generic?, #form_props, #get_domain, #get_property_from_target, #get_props, #handle_type, #harvest, #harvesters, #harvesting, #list_generic, #list_props, #otd_create_generic, #otd_propize, #set_prop_generic, #set_props