Represents the current state of the com.stuart.zcaffeine.ZCaffeine cache builder.
Used in combination with State.Conflict 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.
- Companion:
- object
class Object
trait Matchable
class Any
trait EnableScheduling
trait EvictionListener
trait ExpireAfter
trait ExpireAfterAccess
trait ExpireAfterWrite
trait InitCapacity
trait MaxSize
trait MaxWeight
trait RecordStats
trait RefreshAfterWrite
trait RemovalListener
trait Unconfigured