Interface ContextCacheRenewal


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

    Modifier and Type
    Method
    Description
    List<org.gcube.informationsystem.contexts.reference.entities.Context>
    Triggers the renewal of the context cache.
  • Method Details

    • 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