Class UserRegionVersionCache

java.lang.Object
io.higson.runtime.cache.UserRegionVersionCache

public class UserRegionVersionCache extends Object
  • Constructor Details

    • UserRegionVersionCache

      public UserRegionVersionCache()
  • Method Details

    • put

      public void put(@NotNull @NotNull String profileCode, @NotNull @NotNull String user, @NotNull @NotNull Set<RegionVersion> versions)
    • get

      public Set<RegionVersion> get(@NotNull @NotNull String profileCode, @NotNull @NotNull String user)
    • invalidateForProfile

      public void invalidateForProfile(@NotNull @NotNull String profileCode)
    • invalidateForUser

      public void invalidateForUser(@NotNull @NotNull String user)
    • invalidate

      public void invalidate(@NotNull @NotNull String profileCode, @NotNull @NotNull String user)
    • getAllKeys

      public Set<UserRegionVersionCache.CacheKey> getAllKeys()