public class InspectCacheHandler extends Object
Constructor and Description |
---|
InspectCacheHandler(Plan plugin)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
cache(UUID uuid)
Caches the UserData object to InspectCache.
|
UserData |
getFromCache(UUID uuid)
Checks the cache for UserData matching UUID.
|
boolean |
isCached(UUID uuid)
Check if the data of a player is in the inspect cache.
|
public InspectCacheHandler(Plan plugin)
plugin
- Current instance of Plan.classpublic void cache(UUID uuid)
uuid
- UUID of the player.public UserData getFromCache(UUID uuid)
uuid
- UUID of the Playerpublic boolean isCached(UUID uuid)
uuid
- UUID of player.Copyright © 2017. All rights reserved.