Interface PersonDetailsCache

    • Method Detail

      • put

        void put​(PersonDetails personDetails)
        Puts person details into storage mechanism.
      • getByCorrelationId

        PersonDetails getByCorrelationId​(String correlationId)
        Get person details with given correlation id from storage mechanism.
        Returns:
        PersonDetails object. If there is no entry associated with the given id, this method should return null.
      • deleteOlderThan

        void deleteOlderThan​(org.joda.time.Duration duration)
        Deletes the entries from storage mechanism that are older than given date.