Interface IsImplementedCache

    • Method Detail

      • update

        void update​(String eventId,
                    boolean isImplemented)
        Updates the cache by adding the value of isImplemented with eventId as its key to the cache
        Parameters:
        eventId - name of the event whose isImplemented value is cached
        isImplemented - boolean indicating whether lambdas exist that implement the given event
      • getIfCachedAndValid

        FaaSEventImplementedExpiry getIfCachedAndValid​(String eventId)
        Returns the cached event and its implementation value if stored and valid, otherwise should trigger removal and return null
        Parameters:
        eventId - name of the event that is looked for
        Returns:
        FaasEventImplementedExpiry that contains the event name and its isImplemented value or null if not found