Class RealmsDataFetcher


  • public class RealmsDataFetcher
    extends java.lang.Object
    • Field Detail

      • LOGGER

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

        private final java.util.concurrent.ScheduledExecutorService scheduler
      • stopped

        private volatile boolean stopped
      • serverListUpdateTask

        private final java.lang.Runnable serverListUpdateTask
      • pendingInviteUpdateTask

        private final java.lang.Runnable pendingInviteUpdateTask
      • trialAvailabilityTask

        private final java.lang.Runnable trialAvailabilityTask
      • liveStatsTask

        private final java.lang.Runnable liveStatsTask
      • unreadNewsTask

        private final java.lang.Runnable unreadNewsTask
      • removedServers

        private final java.util.Set<RealmsServer> removedServers
      • pendingInvitesCount

        private int pendingInvitesCount
      • trialAvailable

        private boolean trialAvailable
      • hasUnreadNews

        private boolean hasUnreadNews
      • newsLink

        private java.lang.String newsLink
      • serverListScheduledFuture

        private java.util.concurrent.ScheduledFuture<?> serverListScheduledFuture
      • pendingInviteScheduledFuture

        private java.util.concurrent.ScheduledFuture<?> pendingInviteScheduledFuture
      • trialAvailableScheduledFuture

        private java.util.concurrent.ScheduledFuture<?> trialAvailableScheduledFuture
      • liveStatsScheduledFuture

        private java.util.concurrent.ScheduledFuture<?> liveStatsScheduledFuture
      • unreadNewsScheduledFuture

        private java.util.concurrent.ScheduledFuture<?> unreadNewsScheduledFuture
    • Constructor Detail

      • RealmsDataFetcher

        public RealmsDataFetcher()
    • Method Detail

      • isStopped

        public boolean isStopped()
      • init

        public void init()
      • initWithSpecificTaskList

        public void initWithSpecificTaskList()
      • markClean

        public void markClean()
      • forceUpdate

        public void forceUpdate()
      • getServers

        public java.util.List<RealmsServer> getServers()
      • getPendingInvitesCount

        public int getPendingInvitesCount()
      • isTrialAvailable

        public boolean isTrialAvailable()
      • hasUnreadNews

        public boolean hasUnreadNews()
      • newsLink

        public java.lang.String newsLink()
      • stop

        public void stop()
      • scheduleTasks

        private void scheduleTasks()
      • cancelTasks

        private void cancelTasks()
      • setServers

        private void setServers​(java.util.List<RealmsServer> p_225080_1_)
      • removeItem

        public void removeItem​(RealmsServer p_225085_1_)
      • isActive

        private boolean isActive()