public void loadStaticVariables ( ) { auto_metric = this . getBoolean ( "tsd.core.auto_create_metrics" ) ; auto_tagk = this . getBoolean ( "tsd.core.auto_create_tagks" ) ; auto_tagv = this . getBoolean ( "tsd.core.auto_create_tagvs" ) ; enable_compactions = this . getBoolean ( "tsd.storage.enable_compaction" ) ; enable_appends = this . getBoolean ( "tsd.storage.enable_appends" ) ; repair_appends = this . getBoolean ( "tsd.storage.repair_appends" ) ; enable_chunked_requests = this . getBoolean ( "tsd.http.request.enable_chunked" ) ; enable_realtime_ts = this . getBoolean ( "tsd.core.meta.enable_realtime_ts" ) ; enable_realtime_uid = this . getBoolean ( "tsd.core.meta.enable_realtime_uid" ) ; enable_tsuid_incrementing = this . getBoolean ( "tsd.core.meta.enable_tsuid_incrementing" ) ; enable_tsuid_tracking = this . getBoolean ( "tsd.core.meta.enable_tsuid_tracking" ) ; if ( this . hasProperty ( "tsd.http.request.max_chunk" ) ) { max_chunked_requests = this . getInt ( "tsd.http.request.max_chunk" ) ; } if ( this . hasProperty ( "tsd.http.header_tag" ) ) { http_header_tag = this . getString ( "tsd.http.header_tag" ) ; } enable_tree_processing = this . getBoolean ( "tsd.core.tree.enable_processing" ) ; fix_duplicates = this . getBoolean ( "tsd.storage.fix_duplicates" ) ; scanner_max_num_rows = this . getInt ( "tsd.storage.hbase.scanner.maxNumRows" ) ; use_otsdb_timestamp = this . getBoolean ( "tsd.storage.use_otsdb_timestamp" ) ; get_date_tiered_compaction_start = this . getLong ( "tsd.storage.get_date_tiered_compaction_start" ) ; use_max_value = this . getBoolean ( "tsd.storage.use_max_value" ) ; }
Loads the static class variables for values that are called often . This should be called any time the configuration changes .