Interface RippleTradeHistoryCount
- All Superinterfaces:
TradeHistoryParams
- All Known Implementing Classes:
RippleTradeHistoryParams
Keeps track of and restrict the number of notification and order detail queries that are made for
a trade history. Due to there not being a single simple API call to return an account's trade
history the number of API queries can spiral out of control. This interface helps prevent that.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
void
void
void
void
-
Field Details
-
DEFAULT_API_CALL_COUNT
static final int DEFAULT_API_CALL_COUNT- See Also:
-
DEFAULT_TRADE_COUNT_LIMIT
static final int DEFAULT_TRADE_COUNT_LIMIT- See Also:
-
-
Method Details
-
resetApiCallCount
void resetApiCallCount() -
incrementApiCallCount
void incrementApiCallCount() -
getApiCallCount
int getApiCallCount() -
getApiCallCountLimit
int getApiCallCountLimit() -
resetTradeCount
void resetTradeCount() -
incrementTradeCount
void incrementTradeCount() -
getTradeCount
int getTradeCount() -
getTradeCountLimit
int getTradeCountLimit()
-