ConcurrentHashMap internally.
Specifically, the get(String, Callable) may call the loader multiple times if called in close succession.
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FSCacheValue | get(String key, Callable<? extends FSCacheValue> loader)
Implements com.
|
| public FSCacheValue | |
| public void |
| _store | back to summary |
|---|---|
| private final Map<String, FSCacheValue> _store | |
| FSDefaultCacheStore | back to summary |
|---|---|
| public FSDefaultCacheStore() | |
| get | back to summary |
|---|---|
| public FSCacheValue get(String key, Callable<? extends FSCacheValue> loader) Implements com.
| |
| get | back to summary |
|---|---|
| public FSCacheValue get(String key) Implements com.
| |
| put | back to summary |
|---|---|
| public void put(String key, FSCacheValue value) Implements com.
| |