Class RealmsDataFetcher

java.lang.Object
com.mojang.realmsclient.gui.RealmsDataFetcher

public class RealmsDataFetcher extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • scheduler

      private final ScheduledExecutorService scheduler
    • stopped

      private volatile boolean stopped
    • serverListUpdateTask

      private final Runnable serverListUpdateTask
    • pendingInviteUpdateTask

      private final Runnable pendingInviteUpdateTask
    • trialAvailabilityTask

      private final Runnable trialAvailabilityTask
    • liveStatsTask

      private final Runnable liveStatsTask
    • unreadNewsTask

      private final Runnable unreadNewsTask
    • removedServers

      private final Set<RealmsServer> removedServers
    • servers

      private List<RealmsServer> servers
    • livestats

      private RealmsServerPlayerLists livestats
    • pendingInvitesCount

      private int pendingInvitesCount
    • trialAvailable

      private boolean trialAvailable
    • hasUnreadNews

      private boolean hasUnreadNews
    • serverListScheduledFuture

      private ScheduledFuture<?> serverListScheduledFuture
    • pendingInviteScheduledFuture

      private ScheduledFuture<?> pendingInviteScheduledFuture
    • trialAvailableScheduledFuture

      private ScheduledFuture<?> trialAvailableScheduledFuture
    • liveStatsScheduledFuture

      private ScheduledFuture<?> liveStatsScheduledFuture
    • unreadNewsScheduledFuture

      private ScheduledFuture<?> unreadNewsScheduledFuture
    • fetchStatus

      private final Map<RealmsDataFetcher.Task,Boolean> fetchStatus
  • Constructor Details

    • RealmsDataFetcher

      public RealmsDataFetcher()
  • Method Details

    • isStopped

      public boolean isStopped()
    • init

      public void init()
    • initWithSpecificTaskList

      public void initWithSpecificTaskList()
    • isFetchedSinceLastTry

      public boolean isFetchedSinceLastTry(RealmsDataFetcher.Task p_225083_1_)
    • markClean

      public void markClean()
    • forceUpdate

      public void forceUpdate()
    • getServers

      public List<RealmsServer> getServers()
    • getPendingInvitesCount

      public int getPendingInvitesCount()
    • isTrialAvailable

      public boolean isTrialAvailable()
    • getLivestats

      public RealmsServerPlayerLists getLivestats()
    • hasUnreadNews

      public boolean hasUnreadNews()
    • newsLink

      public String newsLink()
    • stop

      public void stop()
    • scheduleTasks

      private void scheduleTasks()
    • cancelTasks

      private void cancelTasks()
    • setServers

      private void setServers(List<RealmsServer> p_225080_1_)
    • removeItem

      public void removeItem(RealmsServer p_225085_1_)
    • isActive

      private boolean isActive()