Class NoOpProcessedFixtureChangesTracker
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.processing.pipeline.NoOpProcessedFixtureChangesTracker
- All Implemented Interfaces:
ProcessedFixtureChangesTracker
public class NoOpProcessedFixtureChangesTracker
extends Object
implements ProcessedFixtureChangesTracker
Created on 2019-03-29
- Author:
- e.roznik
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
NoOpProcessedFixtureChangesTracker
@Inject public NoOpProcessedFixtureChangesTracker()
-
-
Method Details
-
onFixtureChangeReceived
public 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.- Specified by:
onFixtureChangeReceivedin interfaceProcessedFixtureChangesTracker- Parameters:
fixtureChange- the fixture change that needs to be checked- Returns:
- if the fixture wasn't processed yet, the result is
false, otherwisetrue
-