code: public BeanO find(BeanId beanId)
      {
          BeanO bean = null;
  
          if (beanOs != null)
          {
              bean = beanOs.get(beanId);
          }
  
          // If debug is enabled, go ahead and calculate some hit rate
          // metrics and print out whether found or not.
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
          {
              ivTxCacheSearch++;
  
              if (bean != null)
              {
                  ivTxCacheHits++;
                  Tr.debug(tc, "Bean found in Transaction cache (Hit Rate:" +
                               ivTxCacheHits + "/" + ivTxCacheSearch + ")");
              }
              else
              {
                  Tr.debug(tc, "Bean not in Transaction cache (Hit Rate:" +
                               ivTxCacheHits + "/" + ivTxCacheSearch + ")");
              }
          }
  
          return bean;
      }
docs: d173022.4