Package tv.phantombot.cache
Class SteamCache
java.lang.Object
tv.phantombot.cache.SteamCache
- All Implemented Interfaces:
Runnable
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Method that returns the game ID, or null if it doesn't exist.int
hashCode()
static SteamCache
Method that returns this instance.void
kill()
Method that kills the run thread.void
run()
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
-