Package io.quarkus.deployment.pkg.steps
Class JarTreeShakeInput.BytecodeSupplier
java.lang.Object
io.quarkus.deployment.pkg.steps.JarTreeShakeInput.BytecodeSupplier
- All Implemented Interfaces:
Supplier<byte[]>
- Enclosing class:
JarTreeShakeInput
Lazy bytecode loader that reads from a
Path on demand. The cache is typically
cleared immediately after use by JarTreeShakeInput.readBytecode(java.lang.String) to limit peak memory, so in
practice each read goes to disk. The path must remain valid (i.e. the owning
OpenPathTree must stay open) for the lifetime of this supplier.
Records the file size at construction for reporting.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary