Package tv.phantombot.cache
Class SteamCache
java.lang.Object
tv.phantombot.cache.SteamCache
- All Implemented Interfaces:
Runnable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod that returns the game ID, or null if it doesn't exist.inthashCode()static SteamCacheMethod that returns this instance.voidkill()Method that kills the run thread.voidrun()Run method that runs on a new thread and sleeps every 30 minutes.
-
Method Details
-
instance
Method that returns this instance.- Parameters:
channelName-- Returns:
-
run
public void run()Run method that runs on a new thread and sleeps every 30 minutes. -
getGameID
Method that returns the game ID, or null if it doesn't exist.- Parameters:
gameName-- Returns:
-
kill
public void kill()Method that kills the run thread. -
hashCode
public int hashCode() -
equals
-