Package io.quarkus.deployment.dev
Class CodeGenLock
java.lang.Object
io.quarkus.deployment.dev.CodeGenLock
Lock that is used to prevent scanning and compiling while code generator is updating sources
There is a race when testing this, where you can see the intermediate empty state of the
file, or where the file time changes twice. Codegen hold this lock during modification
to avoid the race.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CodeGenLock
public CodeGenLock()
-
-
Method Details
-
lockForCodeGen
-
lockForCompilation
-