Implement caching

This commit is contained in:
serega6531
2019-11-18 14:36:50 +03:00
parent ad411c477f
commit 0f769da517
7 changed files with 33 additions and 18 deletions

View File

@@ -9,8 +9,6 @@ import java.util.List;
public interface PacketRepository extends JpaRepository<Packet, Long> {
List<Packet> findAllByStreamAndIdGreaterThan(Stream stream, long packetId, Pageable pageable);
List<Packet> findAllByStreamAndIdLessThan(Stream stream, long packetId, Pageable pageable);
List<Packet> findAllByStream(Stream stream);
}