Interface ProcessedFixtureChangesTracker
- All Known Implementing Classes:
NoOpProcessedFixtureChangesTracker
public interface ProcessedFixtureChangesTracker
Created on 2019-03-29
- Author:
- e.roznik
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonFixtureChangeReceived(com.sportradar.uf.datamodel.UfFixtureChange fixtureChange) Checks if the received fixture change was already processed and returns an indication about the processed state.
-
Method Details
-
onFixtureChangeReceived
boolean onFixtureChangeReceived(com.sportradar.uf.datamodel.UfFixtureChange fixtureChange) Checks if the received fixture change was already processed and returns an indication about the processed state. The underlying implementation needs to "remember" which fixture changes come in, so it won't return incorrect indications.- Parameters:
fixtureChange- the fixture change that needs to be checked- Returns:
- if the fixture wasn't processed yet, the result is
false, otherwisetrue
-