| Package | Description |
|---|---|
| org.nerd4j.utils.cache |
| Modifier and Type | Method and Description |
|---|---|
SelfLoadingCacheBuilder |
SelfLoadingCacheBuilder.withAsyncInsert(boolean asyncInsert)
Sets the given flag to tell if the cache
should insert new keys asynchronously and
returns this builder instance.
|
SelfLoadingCacheBuilder |
SelfLoadingCacheBuilder.withAsyncUpdate(boolean asyncUpdate)
Sets the given flag to tell if the cache
should update existing keys asynchronously
and returns this builder instance.
|
SelfLoadingCacheBuilder |
SelfLoadingCacheBuilder.withCacheDuration(long cacheDuration)
Sets the given value for the cache duration
and returns this builder instance.
|
SelfLoadingCacheBuilder |
SelfLoadingCacheBuilder.withThrowCacheProviderExceptions(boolean throwCacheProviderExceptions)
Sets the given flag to tell if the cache
should propagate cache related exceptions
and returns this builder instance.
|
SelfLoadingCacheBuilder |
SelfLoadingCacheBuilder.withTouchDuration(long touchDuration)
Sets the given value for the touch duration
and returns this builder instance.
|
Copyright © 2011–2020 Nerd4j. All rights reserved.