public class NOnceValueFactoryImpl extends Object implements NOnceValueFactory
| Constructor and Description |
|---|
NOnceValueFactoryImpl(NOnceValueStore store) |
| Modifier and Type | Method and Description |
|---|---|
NOnceValueModel |
load(String id) |
<T> NOnceValue<T> |
of(String id,
Supplier<T> supplier) |
<T> NOnceValue<T> |
of(Supplier<T> supplier) |
void |
save(NOnceValueModel rateLimitValue) |
NOnceValueStore |
store() |
NOnceValueFactory |
withStore(NOnceValueStore store) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, ofpublic NOnceValueFactoryImpl(NOnceValueStore store)
public NOnceValueFactory withStore(NOnceValueStore store)
withStore in interface NOnceValueFactorypublic NOnceValueStore store()
store in interface NOnceValueFactorypublic <T> NOnceValue<T> of(Supplier<T> supplier)
of in interface NOnceValueFactorypublic <T> NOnceValue<T> of(String id, Supplier<T> supplier)
of in interface NOnceValueFactorypublic NOnceValueModel load(String id)
public void save(NOnceValueModel rateLimitValue)
Copyright © 2026 vpc open source initiative. All rights reserved.