Class RuntimeContentHash

java.lang.Object
org.ek9lang.core.RuntimeContentHash
All Implemented Interfaces:
Supplier<String>

public final class RuntimeContentHash extends Object implements Supplier<String>
THE content hash of the runtime this JVM would package: computed ONCE per process (lazily, on first use) by ContentHashOf over every class that RuntimeClassExtractor.extractRuntimeJar(FileHandling, String, String) could take. It is what keys the per-project runtime cache, beside the compiler version. Hold one; every instance gives the one value.
  • Constructor Details

    • RuntimeContentHash

      public RuntimeContentHash()
  • Method Details

    • get

      public String get()
      The content hash.
      Specified by:
      get in interface Supplier<String>
      Returns:
      16 lower-case hex characters