Package com.mojang.realmsclient.gui
Class RealmsDataFetcher
java.lang.Object
com.mojang.realmsclient.gui.RealmsDataFetcher
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<RealmsDataFetcher.Task,Boolean>
private boolean
private RealmsServerPlayerLists
private ScheduledFuture<?>
private RepeatableTask
private static org.apache.logging.log4j.Logger
private Minecraft
private String
private RealmsPersistence
private ScheduledFuture<?>
private int
private RepeatableTask
private RealmsClient
private Set<RealmsServer>
private ScheduledExecutorService
private ScheduledFuture<?>
private RepeatableTask
private List<RealmsServer>
private boolean
private RepeatableTask
private boolean
private ScheduledFuture<?>
private ScheduledFuture<?>
private RepeatableTask
-
Constructor Summary
ModifierConstructorDescriptionRealmsDataFetcher(Minecraft p_167333_, RealmsClient p_167334_)
protected
RealmsDataFetcher(Minecraft p_167336_, RealmsClient p_167337_, RealmsPersistence p_167338_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
int
boolean
void
init()
void
private boolean
isActive()
boolean
isFetchedSinceLastTry(RealmsDataFetcher.Task p_87821_)
boolean
boolean
void
newsLink()
void
removeItem(RealmsServer p_87819_)
private void
private void
setServers(List<RealmsServer> p_87840_)
void
stop()
private void
private void
private void
private void
private void
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
minecraft
-
realmsClient
-
scheduler
-
stopped
private volatile boolean stopped -
serverListUpdateTask
-
liveStatsTask
-
pendingInviteUpdateTask
-
trialAvailabilityTask
-
unreadNewsTask
-
newsLocalStorage
-
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
-
RealmsDataFetcher
protected RealmsDataFetcher(Minecraft p_167336_, RealmsClient p_167337_, RealmsPersistence p_167338_)
-
-
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() -
updateServersList
private void updateServersList() -
updatePendingInvites
private void updatePendingInvites() -
updateTrialAvailable
private void updateTrialAvailable() -
updateLiveStats
private void updateLiveStats() -
updateUnreadNews
private void updateUnreadNews() -
fetchAndUpdateNewsStorage
-