public void startup ( ) { underlying . startup ( ) ; Orient . instance ( ) . getProfiler ( ) . registerHookValue ( profilerPrefix + "current" , "Number of entries in cache" , METRIC_TYPE . SIZE , new OProfilerHookValue ( ) { public Object getValue ( ) { return getSize ( ) ; } } , profilerMetadataPrefix + "current" ) ; }
All operations running at cache initialization stage