Class AbstractHistoryQueryEngine

  • Direct Known Subclasses:
    HistoryQueryEngineMock

    public abstract class AbstractHistoryQueryEngine
    extends java.lang.Object
    Abstract History Query Engine - some engine that performs synchronous queries which take some time. A limitation (provider contract) shall be that only a maximum number of parallel requests are allowed to reduce load on the assumed backend system.
    Author:
    Karl Eilebrecht
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.util.List<java.lang.String[]> queryHistoryData​(java.lang.String firstName, java.lang.String lastName, java.lang.String birthday)
      Perform a synchronous query, which may take some time.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • queryHistoryData

        public abstract java.util.List<java.lang.String[]> queryHistoryData​(java.lang.String firstName,
                                                                            java.lang.String lastName,
                                                                            java.lang.String birthday)
        Perform a synchronous query, which may take some time.
        Parameters:
        firstName - person's first name (optional)
        lastName - person's last name (optional)
        birthday - person's birthday (mandatory)
        Returns:
        data list of (String[4]=[firstName, lastName, birthday, data]) according to the query or empty list if not found