Package tv.phantombot.cache
Class TipeeeStreamCache
java.lang.Object
tv.phantombot.cache.TipeeeStreamCache
- All Implemented Interfaces:
Runnable
-
Method Summary
-
Method Details
-
instance
-
exists
Checks if the donation has been cached.- Parameters:
donationID
-- Returns:
-
count
public int count()Returns the current cache count (size/length),- Returns:
-
run
public void run() -
setCache
Sets the current cache.- Parameters:
cache
-
-
getCache
Returns the current cache.- Returns:
- Current cache.
-
kill
public void kill()Kills the current cache.
-