Class FetchableCacheImpl

    • Constructor Detail

      • FetchableCacheImpl

        public FetchableCacheImpl()
    • Method Detail

      • addFetchable

        public java.lang.String addFetchable​(Session session,
                                             FetchableCache.Fetchable fetchable)
        Description copied from interface: FetchableCache
        Place some fetchable data into the cache.
        Specified by:
        addFetchable in interface FetchableCache
        Parameters:
        session - The session that this data belongs to. Only requests from this session will be able to use the resulting URL.
        fetchable - The handler that will handle the GET request.
        Returns:
        A URL string to be used by a front-end request to retrieve the fetchable data. This URL will expire in 5 minutes or immediately after access, whichever is first. The URL will be relative to the root, e.g. /data/perspective/myProject/uuid