Interface YahooFeedMXBean
-
- All Superinterfaces:
MarketDataModuleMXBean
- All Known Implementing Classes:
YahooFeedModule
@MXBean(true) public interface YahooFeedMXBean extends MarketDataModuleMXBean
Provides an MX interface for the Yahoo market data feed.- Since:
- 2.1.4
- Version:
- $Id$
- Author:
- Colin DuPlantis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRefreshInterval()Gets the interval at which to refresh market data in ms.longgetRequestCounter()Gets the number of requests that have been made.StringgetURL()Returns the URL that describes the location of the Yahoo server.voidresetRequestCounter()Resets the request counter.voidsetRefreshInterval(String inRefreshInterval)Sets the interval at which to refresh market data in ms.voidsetURL(String inURL)Sets the URL that describes the location of the Marketcetera Exchange server.-
Methods inherited from interface org.marketcetera.marketdata.MarketDataModuleMXBean
disconnect, getAssetClasses, getCapabilities, getFeedStatus, reconnect
-
-
-
-
Method Detail
-
getURL
String getURL()
Returns the URL that describes the location of the Yahoo server.- Returns:
- a
Stringvalue
-
setURL
void setURL(String inURL)
Sets the URL that describes the location of the Marketcetera Exchange server.- Parameters:
inURL- aStringvalue
-
getRefreshInterval
String getRefreshInterval()
Gets the interval at which to refresh market data in ms.- Returns:
- a
Stringvalue
-
setRefreshInterval
void setRefreshInterval(String inRefreshInterval)
Sets the interval at which to refresh market data in ms.- Parameters:
inRefreshInterval- aStringvalue
-
getRequestCounter
long getRequestCounter()
Gets the number of requests that have been made.- Returns:
- a
longvalue
-
resetRequestCounter
void resetRequestCounter()
Resets the request counter.
-
-