Class NegotiatedMaxRateProvider
- java.lang.Object
-
- pl.allegro.tech.hermes.consumers.consumer.rate.maxrate.NegotiatedMaxRateProvider
-
- All Implemented Interfaces:
MaxRateProvider
public class NegotiatedMaxRateProvider extends java.lang.Object implements MaxRateProvider
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleget()voidshutdown()voidstart()voidupdateSubscription(pl.allegro.tech.hermes.api.Subscription newSubscription)
-
-
-
Method Detail
-
get
public double get()
- Specified by:
getin interfaceMaxRateProvider
-
updateSubscription
public void updateSubscription(pl.allegro.tech.hermes.api.Subscription newSubscription)
- Specified by:
updateSubscriptionin interfaceMaxRateProvider
-
start
public void start()
- Specified by:
startin interfaceMaxRateProvider
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceMaxRateProvider
-
-