Interface MeasurementsDaoRegistry

    • Method Detail

      • register

        void register​(MeasurementsDao<?,​?> dao,
                      String uuid)
        Registers a new DAO.
        Parameters:
        dao - The DAO to register.
        uuid - The UUID for which the DAO is responsible.
      • deregister

        void deregister​(String uuid)
        Deregisters an registered DAO.
        Parameters:
        uuid - The UUID of the registered DAO.
      • isRegistered

        boolean isRegistered​(String uuid)
        Checks if a DAO is registered for the UUID.
        Parameters:
        uuid - The UUID of the DAO.
        Returns:
        true if there is a DAO registered.
      • getRegisteredUuids

        Set<String> getRegisteredUuids()
        Returns the registered UUIDs.
        Returns:
        List with all registered UUIDs.
      • getMeasurementsDao

        MeasurementsDao<?,​?> getMeasurementsDao​(String uuid)
        Returns a registered DAO.
        Parameters:
        uuid - The UUID of the DAO.
        Returns:
        The DAO.