public static class LongKeyedCache.Builder<T>
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LongKeyedCache<T> |
build() |
LongKeyedCache.Builder<T> |
collectStats() |
LongKeyedCache.Builder<T> |
maxEntries(int size) |
LongKeyedCache.Builder<T> |
metricFactory(MetricFactory metricFactory) |
LongKeyedCache.Builder<T> |
threadSafe(boolean threadSafe) |
LongKeyedCache.Builder<T> |
withHashFunction(Hash32 baseFunction) |
LongKeyedCache.Builder<T> |
withSoftReferences() |
public LongKeyedCache.Builder<T> metricFactory(MetricFactory metricFactory)
public LongKeyedCache.Builder<T> collectStats()
public LongKeyedCache.Builder<T> withSoftReferences()
public LongKeyedCache.Builder<T> withHashFunction(Hash32 baseFunction)
public LongKeyedCache.Builder<T> maxEntries(int size)
public LongKeyedCache.Builder<T> threadSafe(boolean threadSafe)
public LongKeyedCache<T> build()