Class DefaultIsImplementedCache

    • Method Detail

      • update

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

        public FaaSEventImplementedExpiry getIfCachedAndValid​(String eventId)
        Description copied from interface: IsImplementedCache
        Returns the cached event and its implementation value if stored and valid, otherwise should trigger removal and return null
        Specified by:
        getIfCachedAndValid in interface IsImplementedCache
        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