Interface CompleteRoundCi

All Superinterfaces:
RoundCi
All Known Implementing Classes:
CompleteRoundCiImpl

public interface CompleteRoundCi extends RoundCi
A round representation used by caching components. The cache item exists as a whole object, there is no support for partial loading
  • Method Details

    • merge

      void merge(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound round, Locale locale)
      Merges the information from the provided SapiMatchRound into the current instance
      Parameters:
      round - - SapiMatchRound containing information about the round
      locale - - Locale specifying the language of the round
    • hasTranslationsFor

      boolean hasTranslationsFor(List<Locale> locales)
      Checks if the associated cache item contains all the provided Locales
      Parameters:
      locales - the Locales that should be checked
      Returns:
      true if all the provided Locales are cached, otherwise false