Modifier and Type | Method and Description |
---|---|
static Session |
Session.start(long time,
String world,
String gm)
Starts a new Session.
|
Modifier and Type | Method and Description |
---|---|
List<Session> |
JoinInfoPart.getAllSessions() |
Map<UUID,List<Session>> |
JoinInfoPart.getSessions() |
Modifier and Type | Method and Description |
---|---|
void |
JoinInfoPart.addActiveSessions(Map<UUID,Session> activeSessions) |
void |
JoinInfoPart.addSessions(Map<UUID,List<Session>> sessions) |
void |
JoinInfoPart.addSessions(UUID uuid,
List<Session> sessions) |
Modifier and Type | Method and Description |
---|---|
Map<UUID,Map<UUID,List<Session>>> |
SessionsTable.getAllSessions(boolean getKillsAndWorldTimes) |
Map<UUID,List<Session>> |
SessionsTable.getSessionInfoOfServer() |
Map<UUID,List<Session>> |
SessionsTable.getSessionInfoOfServer(UUID serverUUID) |
Map<String,List<Session>> |
SessionsTable.getSessions(UUID uuid) |
Modifier and Type | Method and Description |
---|---|
void |
SessionsTable.saveSession(UUID uuid,
Session session)
Used to save a session, with all it's information into the database.
|
Modifier and Type | Method and Description |
---|---|
void |
KillsTable.addKillsToSessions(Map<UUID,Map<UUID,List<Session>>> map) |
void |
KillsTable.addKillsToSessions(UUID uuid,
Map<Integer,Session> sessions) |
void |
WorldTimesTable.addWorldTimesToSessions(Map<UUID,Map<UUID,List<Session>>> map) |
void |
WorldTimesTable.addWorldTimesToSessions(UUID uuid,
Map<Integer,Session> sessions) |
void |
SessionsTable.insertSessions(Map<UUID,Map<UUID,List<Session>>> allSessions,
boolean saveKillsAndWorldTimes) |
void |
KillsTable.savePlayerKills(Map<UUID,Map<UUID,List<Session>>> allSessions) |
void |
WorldTimesTable.saveWorldTimes(Map<UUID,Map<UUID,List<Session>>> allSessions) |
Modifier and Type | Method and Description |
---|---|
Map<UUID,Session> |
SessionCache.getActiveSessions()
Used to get the Map of active sessions.
|
Optional<Session> |
SessionCache.getCachedSession(UUID uuid)
Used to get the Session of the player in the sessionCache.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionCache.cacheSession(UUID uuid,
Session session) |
Modifier and Type | Method and Description |
---|---|
static long |
AnalysisUtils.getLastSeen(List<Session> userSessions) |
static long |
AnalysisUtils.getLongestSessionLength(List<Session> sessions) |
static long |
AnalysisUtils.getTotalPlaytime(List<Session> sessions) |
static int |
AnalysisUtils.getUniqueJoins(Map<UUID,List<Session>> sessions,
long scale)
Used to calculate unique players that have played within the time frame determined by scale.
|
static int |
AnalysisUtils.getUniqueJoinsPerDay(Map<UUID,List<Session>> sessions,
long scale) |
static List<Long> |
AnalysisUtils.transformSessionDataToLengths(Collection<Session> data) |
Modifier and Type | Method and Description |
---|---|
int |
SessionStartComparator.compare(Session s1,
Session s2) |
int |
SessionLengthComparator.compare(Session s1,
Session s2) |
Modifier and Type | Method and Description |
---|---|
static String |
HtmlStructure.createServerOverviewColumn(Map<String,List<Session>> sessions) |
static String[] |
HtmlStructure.createSessionsTabContent(Map<String,List<Session>> sessions,
List<Session> allSessions) |
static String[] |
HtmlStructure.createSessionsTabContent(Map<String,List<Session>> sessions,
List<Session> allSessions) |
Modifier and Type | Method and Description |
---|---|
static String |
PunchCardGraphCreator.createDataSeries(Collection<Session> sessions)
Creates a PunchCard series data Array for HighCharts
|
Copyright © 2017. All rights reserved.