code: public void startup() {
      underlying.startup();
  
      OProfiler.getInstance().registerHookValue(profilerPrefix + "enabled", new OProfilerHookValue() {
        public Object getValue() {
          return isEnabled();
        }
      });
  
      OProfiler.getInstance().registerHookValue(profilerPrefix + "current", new OProfilerHookValue() {
        public Object getValue() {
          return getSize();
        }
      });
  
      OProfiler.getInstance().registerHookValue(profilerPrefix + "max", new OProfilerHookValue() {
        public Object getValue() {
          return getMaxSize();
        }
      });
    }
docs: All operations running at cache initialization stage