Class CompilationCacheParams


  • @Beta
    public class CompilationCacheParams
    extends java.lang.Object
    Per-script compilation cache parameters for `Page.produceCompilationCache`
    • Constructor Summary

      Constructors 
      Constructor Description
      CompilationCacheParams​(java.lang.String url, java.util.Optional<java.lang.Boolean> eager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Boolean> getEager()
      A hint to the backend whether eager compilation is recommended.
      java.lang.String getUrl()
      The URL of the script to produce a compilation cache entry for.
      • Methods inherited from class java.lang.Object

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

      • CompilationCacheParams

        public CompilationCacheParams​(java.lang.String url,
                                      java.util.Optional<java.lang.Boolean> eager)
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        The URL of the script to produce a compilation cache entry for.
      • getEager

        public java.util.Optional<java.lang.Boolean> getEager()
        A hint to the backend whether eager compilation is recommended. (the actual compilation mode used is upon backend discretion).