HomeSort by relevance Sort by last modified time
    Searched full:maximumweight (Results 1 - 6 of 6) sorted by null

  /external/guava/guava/src/com/google/common/cache/
CacheBuilder.java 93 * {@linkplain #maximumSize(long) maximumSize}, {@linkplain #maximumWeight(long) maximumWeight},
99 * {@linkplain #maximumWeight(long) maximumWeight} is requested entries may be evicted on each cache
206 long maximumWeight = UNSET_INT;
345 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
346 this.maximumWeight);
372 public CacheBuilder<K, V> maximumWeight(long weight) {
373 checkState(this.maximumWeight == UNSET_INT, "maximum weight was already set to %s",
374 this.maximumWeight);
    [all...]
RemovalCause.java 83 * {@link CacheBuilder#maximumSize} or {@link CacheBuilder#maximumWeight}.
LocalCache.java     [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
CacheEvictionTest.java 57 .maximumWeight(i)
83 .maximumWeight(2 * MAX_SIZE)
118 .maximumWeight(2 * MAX_SIZE)
200 .maximumWeight(45)
243 .maximumWeight(45)
CacheBuilderTest.java 167 @GwtIncompatible("maximumWeight")
171 builder.maximumWeight(16);
176 @GwtIncompatible("maximumWeight")
180 builder.maximumWeight(-1);
185 @GwtIncompatible("maximumWeight")
187 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumWeight(16);
190 builder.maximumWeight(16);
199 @GwtIncompatible("maximumWeight")
202 .maximumWeight(1);
LocalCacheTest.java 292 .maximumWeight(maxSize)
309 makeLocalCache(createCacheBuilder().maximumWeight(1).weigher(testWeigher));
    [all...]

Completed in 326 milliseconds