Package org.spongepowered.api.profile
Interface GameProfileManager
-
- All Superinterfaces:
GameProfileProvider
public interface GameProfileManager extends GameProfileProvider
ManagesGameProfilecreation and data population.The manager may cache the data of a request for faster lookups. Note that the cached data may not always be up to date.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GameProfileCachecache()Gets theGameProfileCacheof this provider which will be used to cache game profiles.GameProfileProvideruncached()Gets aGameProfileProviderwhich bypasses theGameProfileCache.-
Methods inherited from interface org.spongepowered.api.profile.GameProfileProvider
basicProfile, basicProfile, basicProfile, basicProfiles, basicProfiles, profile, profile, profile, profile, profile, profile
-
-
-
-
Method Detail
-
cache
GameProfileCache cache()
Gets theGameProfileCacheof this provider which will be used to cache game profiles.In vanilla, properties do not persist between restarts and profiles will expire after a month.
- Returns:
- The cache
-
uncached
GameProfileProvider uncached()
Gets aGameProfileProviderwhich bypasses theGameProfileCache.- Returns:
- The uncached game profile provider
-
-