public class NCachedValueFactoryImpl extends Object implements NCachedValueFactory
| Constructor and Description |
|---|
NCachedValueFactoryImpl(NCachedValueStore store) |
| Modifier and Type | Method and Description |
|---|---|
NCachedValueModel |
load(String id) |
<T> NCachedValue<T> |
of(String id,
Supplier<T> supplier) |
<T> NCachedValue<T> |
of(Supplier<T> supplier) |
void |
save(NCachedValueModel rateLimitValue) |
public NCachedValueFactoryImpl(NCachedValueStore store)
public <T> NCachedValue<T> of(Supplier<T> supplier)
of in interface NCachedValueFactorypublic <T> NCachedValue<T> of(String id, Supplier<T> supplier)
of in interface NCachedValueFactorypublic NCachedValueModel load(String id)
public void save(NCachedValueModel rateLimitValue)
Copyright © 2025 vpc open source initiative. All rights reserved.