Class PlayerProfileCache.ProfileEntry

  • Enclosing class:
    PlayerProfileCache

    static class PlayerProfileCache.ProfileEntry
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Date expirationDate  
      private long lastAccess  
      private com.mojang.authlib.GameProfile profile  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ProfileEntry​(com.mojang.authlib.GameProfile p_i241888_1_, java.util.Date p_i241888_2_)  
    • Field Detail

      • profile

        private final com.mojang.authlib.GameProfile profile
      • expirationDate

        private final java.util.Date expirationDate
      • lastAccess

        private volatile long lastAccess
    • Constructor Detail

      • ProfileEntry

        private ProfileEntry​(com.mojang.authlib.GameProfile p_i241888_1_,
                             java.util.Date p_i241888_2_)
    • Method Detail

      • getProfile

        public com.mojang.authlib.GameProfile getProfile()
      • getExpirationDate

        public java.util.Date getExpirationDate()
      • setLastAccess

        public void setLastAccess​(long p_242126_1_)
      • getLastAccess

        public long getLastAccess()