public interface ResourceStatistics
Modifier and Type | Method and Description |
---|---|
void |
createStat(SqlSession sqlSession)
Creates and configure a statement with an insert query.
|
int |
getHits()
Returns the number of hits
|
boolean |
statExists(SqlSession sqlSession)
Creates and configure a statement with a find query.
|
void |
updateStat(SqlSession sqlSession)
Creates and configure a statement with an update query.
|
boolean statExists(SqlSession sqlSession)
sqlSession
- The sql sessionvoid createStat(SqlSession sqlSession)
sqlSession
- The sql sessionvoid updateStat(SqlSession sqlSession)
sqlSession
- The sql sessionint getHits()