adds a clairvoyant admission policy to the simulator #4298
Annotations
4 warnings
qodana:
simulator/src/main/java/com/github/benmanes/caffeine/cache/simulator/admission/TinyLfu.java#L90
[MissingDefault] The Google Java Style Guide requires that each switch statement includes a default statement group, even if it contains no code. (This requirement is lifted for any switch statement that covers all values of an enum.)
|
qodana:
simulator/src/main/java/com/github/benmanes/caffeine/cache/simulator/admission/TinyLfu.java#L93
[MissingDefault] The Google Java Style Guide requires that each switch statement includes a default statement group, even if it contains no code. (This requirement is lifted for any switch statement that covers all values of an enum.)
|
qodana:
simulator/src/main/java/com/github/benmanes/caffeine/cache/simulator/admission/clairvoyant/Clairvoyant.java#L42
[NonFinalStaticField] Static fields should almost always be final.
|
qodana:
simulator/src/main/java/com/github/benmanes/caffeine/cache/simulator/admission/clairvoyant/Clairvoyant.java#L49
[StaticAssignmentInConstructor] This assignment is to a static field. Mutating static state from a constructor is highly error-prone.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
qodana-report
Expired
|
3.58 MB |
|