Interface ResourceStatistics

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void createStat​(org.apache.ibatis.session.SqlSession sqlSession)
      Creates and configure a statement with an insert query.
      int getHits()
      Returns the number of hits
      boolean statExists​(org.apache.ibatis.session.SqlSession sqlSession)
      Creates and configure a statement with a find query.
      void updateStat​(org.apache.ibatis.session.SqlSession sqlSession)
      Creates and configure a statement with an update query.
    • Method Detail

      • statExists

        boolean statExists​(org.apache.ibatis.session.SqlSession sqlSession)
        Creates and configure a statement with a find query.
        Parameters:
        sqlSession - The sql session
        Returns:
        A non null ready to execute prepared statement
      • createStat

        void createStat​(org.apache.ibatis.session.SqlSession sqlSession)
        Creates and configure a statement with an insert query.
        Parameters:
        sqlSession - The sql session
      • updateStat

        void updateStat​(org.apache.ibatis.session.SqlSession sqlSession)
        Creates and configure a statement with an update query.
        Parameters:
        sqlSession - The sql session
      • getHits

        int getHits()
        Returns the number of hits
        Returns:
        int the hits