public class NRateLimitValueFactoryImpl extends Object implements NRateLimitValueFactory
| Constructor and Description |
|---|
NRateLimitValueFactoryImpl(NRateLimitValueStore store,
NBeanContainer beanContainer,
Map<String,NRateLimitStrategy> strategies) |
| Modifier and Type | Method and Description |
|---|---|
NRateLimitRule |
createRule(NRateLimitRuleModel model) |
NRateLimitValueFactory |
defineStrategy(String name,
NRateLimitStrategy definition) |
NBeanContainer |
getBeanContainer() |
NRateLimitValueStore |
getStore() |
NRateLimitValueModel |
load(String id) |
NRateLimitValueBuilder |
ofBuilder(String id) |
void |
save(NRateLimitValueModel rateLimitValue) |
NRateLimitValueFactory |
withBeanContainer(NBeanContainer beanContainer) |
NRateLimitValueFactory |
withStore(NRateLimitValueStore store) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, ofpublic NRateLimitValueFactoryImpl(NRateLimitValueStore store, NBeanContainer beanContainer, Map<String,NRateLimitStrategy> strategies)
public NRateLimitValueFactory withStore(NRateLimitValueStore store)
withStore in interface NRateLimitValueFactorypublic NRateLimitValueFactory withBeanContainer(NBeanContainer beanContainer)
withBeanContainer in interface NRateLimitValueFactorypublic NBeanContainer getBeanContainer()
getBeanContainer in interface NRateLimitValueFactorypublic NRateLimitValueStore getStore()
getStore in interface NRateLimitValueFactorypublic NRateLimitRule createRule(NRateLimitRuleModel model)
public NRateLimitValueFactory defineStrategy(String name, NRateLimitStrategy definition)
defineStrategy in interface NRateLimitValueFactorypublic NRateLimitValueBuilder ofBuilder(String id)
ofBuilder in interface NRateLimitValueFactorypublic NRateLimitValueModel load(String id)
public void save(NRateLimitValueModel rateLimitValue)
Copyright © 2025 vpc open source initiative. All rights reserved.