Package tv.phantombot.cache
Class TipeeeStreamCache
java.lang.Object
tv.phantombot.cache.TipeeeStreamCache
-
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the current cache count (size/length),booleanChecks if the donation has been cached.getCache()Returns the current cache.static TipeeeStreamCacheinstance()voidkill()Kills the current cache.voidSets the current cache.
-
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:
-
setCache
Sets the current cache.- Parameters:
cache-
-
getCache
Returns the current cache.- Returns:
- Current cache.
-
kill
public void kill()Kills the current cache.
-