Interface CacheAware

  • All Implemented Interfaces:

    
    public interface CacheAware
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit cache(List<Cache> caches) Adds a list of tags to the job.
      abstract Unit cache(Cache cache) Sets a new cache section.
      abstract Unit cache(Function1<CacheBuilder, Unit> init) Configures a new cache section via its builder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • cache

         abstract Unit cache(List<Cache> caches)

        Adds a list of tags to the job.

      • cache

         abstract Unit cache(Cache cache)

        Sets a new cache section. Can also be used to reset it when null is passed.