Package com.mojang.realmsclient.gui
Class RealmsDataFetcher
java.lang.Object
com.mojang.realmsclient.gui.RealmsDataFetcher
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
static enum
(package private) class
(package private) class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<RealmsDataFetcher.Task,
Boolean> private boolean
private RealmsServerPlayerLists
private ScheduledFuture<?>
private final Runnable
private static final org.apache.logging.log4j.Logger
private String
private ScheduledFuture<?>
private int
private final Runnable
private final Set<RealmsServer>
private final ScheduledExecutorService
private ScheduledFuture<?>
private final Runnable
private List<RealmsServer>
private boolean
private final Runnable
private boolean
private ScheduledFuture<?>
private ScheduledFuture<?>
private final Runnable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
int
boolean
void
init()
void
private boolean
isActive()
boolean
isFetchedSinceLastTry
(RealmsDataFetcher.Task p_225083_1_) boolean
boolean
void
newsLink()
void
removeItem
(RealmsServer p_225085_1_) private void
private void
setServers
(List<RealmsServer> p_225080_1_) void
stop()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
scheduler
-
stopped
private volatile boolean stopped -
serverListUpdateTask
-
pendingInviteUpdateTask
-
trialAvailabilityTask
-
liveStatsTask
-
unreadNewsTask
-
removedServers
-
servers
-
livestats
-
pendingInvitesCount
private int pendingInvitesCount -
trialAvailable
private boolean trialAvailable -
hasUnreadNews
private boolean hasUnreadNews -
newsLink
-
serverListScheduledFuture
-
pendingInviteScheduledFuture
-
trialAvailableScheduledFuture
-
liveStatsScheduledFuture
-
unreadNewsScheduledFuture
-
fetchStatus
-
-
Constructor Details
-
RealmsDataFetcher
public RealmsDataFetcher()
-
-
Method Details
-
isStopped
public boolean isStopped() -
init
public void init() -
initWithSpecificTaskList
public void initWithSpecificTaskList() -
isFetchedSinceLastTry
-
markClean
public void markClean() -
forceUpdate
public void forceUpdate() -
getServers
-
getPendingInvitesCount
public int getPendingInvitesCount() -
isTrialAvailable
public boolean isTrialAvailable() -
getLivestats
-
hasUnreadNews
public boolean hasUnreadNews() -
newsLink
-
stop
public void stop() -
scheduleTasks
private void scheduleTasks() -
cancelTasks
private void cancelTasks() -
setServers
-
removeItem
-
isActive
private boolean isActive()
-