Conflict

sealed trait Conflict[S1 <: State, S2 <: State]

Represents conflicts that can exists between different options of the com.stuart.zcaffeine.ZCaffeine cache builder.

Used in combination with State to restrict incompatible configurations of the underlying com.github.benmanes.caffeine.cache.Caffeine builder, like configuring both max size and max weight.

Note: using ZCaffeine.fromCaffeineSpec breaks those checks, as we don’t know for sure what has been already configured.

class Object
trait Matchable
class Any