public abstract class PricingDataProvider<T extends com.caplin.motif.fx.rates.RateSubjectInfo>
extends java.lang.Object
implements com.caplin.motif.datasource.CachedDataProvider<com.caplin.motif.fx.rates.RateSubjectInfo>
Constructor and Description |
---|
PricingDataProvider(java.util.List<com.caplin.ret.trapi.rates.RatesService> ratesManagers,
com.caplin.ret.trapi.admin.AdminService serviceManager,
org.slf4j.Logger logger,
int serialExecutorPoolSize,
java.util.concurrent.ExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
abstract com.caplin.motif.fx.rates.FXQuotePublisher |
createQuotePublisher() |
abstract com.caplin.ret.trapi.rates.SubscriptionRequest |
createSubscriptionRequest(T subjectInfo) |
abstract java.lang.String |
getDisplayedGFA(java.lang.String gfa,
java.lang.String currencyPair,
java.lang.String unit) |
void |
initialise() |
void |
onDiscard(com.caplin.motif.fx.rates.RateSubjectInfo subjectInfo) |
void |
onRequest(com.caplin.motif.fx.rates.RateSubjectInfo subjectInfo) |
public PricingDataProvider(java.util.List<com.caplin.ret.trapi.rates.RatesService> ratesManagers, com.caplin.ret.trapi.admin.AdminService serviceManager, org.slf4j.Logger logger, int serialExecutorPoolSize, java.util.concurrent.ExecutorService executorService)
public abstract com.caplin.motif.fx.rates.FXQuotePublisher createQuotePublisher()
public abstract com.caplin.ret.trapi.rates.SubscriptionRequest createSubscriptionRequest(T subjectInfo) throws java.lang.Exception
java.lang.Exception
public abstract java.lang.String getDisplayedGFA(java.lang.String gfa, java.lang.String currencyPair, java.lang.String unit)
public void initialise()
public void onRequest(com.caplin.motif.fx.rates.RateSubjectInfo subjectInfo)
onRequest
in interface com.caplin.motif.datasource.CachedDataProvider<com.caplin.motif.fx.rates.RateSubjectInfo>
public void onDiscard(com.caplin.motif.fx.rates.RateSubjectInfo subjectInfo)
onDiscard
in interface com.caplin.motif.datasource.CachedDataProvider<com.caplin.motif.fx.rates.RateSubjectInfo>
Copyright © 2019 Caplin Systems.