Home | History | Annotate | Download | only in cache

Lines Matching defs:checkState

21 import static com.google.common.base.Preconditions.checkState;
264 checkState(this.initialCapacity == UNSET_INT, "initial capacity was already set to %s",
306 checkState(this.concurrencyLevel == UNSET_INT, "concurrency level was already set to %s",
333 checkState(this.maximumSize == UNSET_INT, "maximum size was already set to %s",
335 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
337 checkState(this.weigher == null, "maximum size can not be combined with weigher");
357 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength);
367 checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
396 checkState(expireAfterWriteNanos == UNSET_INT, "expireAfterWrite was already set to %s ns",
430 checkState(expireAfterAccessNanos == UNSET_INT, "expireAfterAccess was already set to %s ns",
456 checkState(this.ticker == null);
492 checkState(this.removalListener == null);
566 checkState(refreshNanos == UNSET_INT, "refreshAfterWrite requires a LoadingCache");
571 checkState(maximumWeight == UNSET_INT, "maximumWeight requires weigher");
574 checkState(maximumWeight != UNSET_INT, "weigher requires maximumWeight");