コード例 #1
0
ファイル: SnapshotDao.java プロジェクト: scottag99/glowroot
 @OnlyUsedByTests
 public long count() {
   try {
     return dataSource.queryForLong("select count(*) from snapshot");
   } catch (SQLException e) {
     logger.error(e.getMessage(), e);
     return 0;
   }
 }