public abstract class PricingDataProvider<T extends com.caplin.motif.fx.rates.AbstractSubjectInfo>
extends java.lang.Object
implements com.caplin.motif.datasource.CachedDataProvider<T>
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(T subjectInfo) |
void |
onRequest(T 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(T subjectInfo)
onRequest
in interface com.caplin.motif.datasource.CachedDataProvider<T extends com.caplin.motif.fx.rates.AbstractSubjectInfo>
Copyright © 2016 Caplin Systems.