public static class Interners.InternerBuilder extends Object
Interner
instances.Modifier and Type | Method and Description |
---|---|
<E> Interner<E> |
build() |
Interners.InternerBuilder |
concurrencyLevel(int concurrencyLevel)
Sets the concurrency level that will be used by the to-be-built
Interner . |
Interners.InternerBuilder |
strong()
Instructs the
Interners.InternerBuilder to build a strong interner. |
Interners.InternerBuilder |
weak()
Instructs the
Interners.InternerBuilder to build a weak interner. |
public Interners.InternerBuilder strong()
Interners.InternerBuilder
to build a strong interner.Interners.newStrongInterner()
@GwtIncompatible(value="java.lang.ref.WeakReference") public Interners.InternerBuilder weak()
Interners.InternerBuilder
to build a weak interner.Interners.newWeakInterner()
public Interners.InternerBuilder concurrencyLevel(int concurrencyLevel)
Interner
.MapMaker.concurrencyLevel(int)
Copyright © 2010–2020. All rights reserved.