Uvm_config_db get in UVM_object

In reply to chrisspear:

Thank you again chris , what you wrote is exactly the case, indeed RD_LATENCY is an integer and I implemented the solution you suggested and it is working fine.

about your last question , RD_LATENCY is a parameter in my DUT , so it is set in my top testbench using config_db , and I passed it globally in case I need it somewhere else.
but I don’t have any other subsystems that have their own RD_LATENCY.
do you think I should limit the accessibility of the database entry?