Class RegistroLentidaoDaoImpl

Object
AbstractJPADao<RegistroLentidao,Long>
RegistroLentidaoDaoImpl
All Implemented Interfaces:
Dao<RegistroLentidao,Long>, RegistroLentidaoDao

@Repository public class RegistroLentidaoDaoImpl extends AbstractJPADao<RegistroLentidao,Long> implements RegistroLentidaoDao
  • Constructor Details

    • RegistroLentidaoDaoImpl

      public RegistroLentidaoDaoImpl()
  • Method Details

    • prune

      @Transactional public int prune(int amountToKeep)
      Specified by:
      prune in interface RegistroLentidaoDao
    • findAllExecutionTime

      public List<RegistroLentidao> findAllExecutionTime()
      Retorna apenas os dados importantes de execução (id e duração), excluindo os demais campos para otimização de performance. Este método retorna apenas os registros do **dia atual**, com base no campo `data_execucao`.
      Specified by:
      findAllExecutionTime in interface RegistroLentidaoDao
      Returns:
      Lista de registros contendo somente id e duração executados no dia atual.
    • bulkInsert

      @Transactional public void bulkInsert(List<RegistroLentidao> registros)
      Specified by:
      bulkInsert in interface RegistroLentidaoDao
    • bulkDelete

      @Transactional public void bulkDelete(List<RegistroLentidao> registros)
      Specified by:
      bulkDelete in interface RegistroLentidaoDao
    • delete

      @Transactional public void delete(RegistroLentidao registro)
      Specified by:
      delete in interface RegistroLentidaoDao
    • delete

      @Transactional public void delete(Long id)
      Specified by:
      delete in interface RegistroLentidaoDao