Class TwitchTeamsCache

java.lang.Object
tv.phantombot.cache.TwitchTeamsCache
All Implemented Interfaces:
Runnable

public class TwitchTeamsCache extends Object implements Runnable
Author:
ScaniaTV
  • Method Details

    • instance

      public static TwitchTeamsCache instance(String channelName)
      Method that starts this cache, and returns it.
      Parameters:
      channelName -
      Returns:
    • run

      public void run()
      Method that updates the Twitch teams.
      Specified by:
      run in interface Runnable
    • getTeam

      public TwitchTeamsCache.Team getTeam(String teamName)
      Method that gets a team from the cache.
      Parameters:
      teamName -
      Returns: