Interface ContextCacheRenewal


  • public interface ContextCacheRenewal
    The Interface ContextCacheRenewal.
    Author:
    Luca Frosini (ISTI - CNR)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<org.gcube.informationsystem.contexts.reference.entities.Context> renew()
      Triggers the renewal of the context cache.
    • Method Detail

      • renew

        List<org.gcube.informationsystem.contexts.reference.entities.Context> renew()
                                                                             throws ResourceRegistryException
        Triggers the renewal of the context cache.

        Invoked by the cache manager whenever the cache experiences a cold start or needs to be repopulated after invalidation.

        Returns:
        the complete list of deserialized Context entities, or null if renewal fails
        Throws:
        ResourceRegistryException - if the data source retrieval fails