We may need to clear a Redis cache when its data becomes out of date. We explore how to do this with both the command line and Java client.
Also find me here:
Baeldung Author
Vivek Balasubramaniam
Software Engineer with a solid background in OOP, TDD, Data Structures and Algorithms. Interested in Distributed Systems, Big Data and Analytics.
Here's what I've written (so far):
Baeldung on Java
- All
- Java (2)
- JPA (2)
- Algorithms (2)
- Testing (1)
- Persistence (1)
- NoSQL (1)
- Java Array (1)
- Cloud (1)
How to Merge Two Sorted Arrays in Java
Filed under Algorithms, Java Array
Learn how to merge two sorted arrays in Java.
Prototype Pattern in Java
Filed under Java
Learn about and how to apply the Prototype Pattern in Java.
Radix Sort in Java
Filed under Algorithms, Java
Learn about the Radix sort algorithm and implement it in Java.
@TestInstance Annotation in JUnit 5
Filed under Testing
JUnit 5 allows us to customise the lifecycle of our test objects to share resources and state between tests. We investigate the @TestInstance annotation.
Composite Primary Keys in JPA
Filed under JPA
Learn how to configure a JPA entity for more than one primary key column, diving into the tradeoffs between @EmbeddedId and @IdClass.
Defining JPA Entities
Filed under JPA
Learn how to define entities and customize them using the Java Persistence API.