| Package | Description |
|---|---|
| org.talend.sdk.component.api.service.cache |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
LocalCache.computeIfAbsent(Class<T> expectedClass,
String key,
Predicate<LocalCache.Element> toRemove,
long timeoutMs,
Supplier<T> value)
Read or compute and save a value for a determined duration and predicate.
|
<T> T |
LocalCache.computeIfAbsent(Class<T> expectedClass,
String key,
Predicate<LocalCache.Element> toRemove,
Supplier<T> value)
Read or compute and save a value until remove predicate go to remove.
|
1.1.27 - Copyright © 2019 Talend Component Kit Documentation