mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-13 19:51:25 +01:00
Made larger Containers use DynamicDataContainer
This should optimize small object creation for cases where a lot of raw data is stored, as no extra supplier needs to be created
This commit is contained in:
parent
01a9bdd457
commit
faa9af5eb5
@ -59,7 +59,7 @@ import java.util.stream.Collectors;
|
||||
* @see com.djrapitops.plan.data.store.keys.AnalysisKeys for Key objects
|
||||
* @see com.djrapitops.plan.data.store.PlaceholderKey for placeholder information
|
||||
*/
|
||||
public class AnalysisContainer extends SupplierDataContainer {
|
||||
public class AnalysisContainer extends DynamicDataContainer {
|
||||
|
||||
private final ServerContainer serverContainer;
|
||||
|
||||
|
@ -56,7 +56,7 @@ import java.util.concurrent.TimeUnit;
|
||||
* @see com.djrapitops.plan.data.store.keys.NetworkKeys for Key objects
|
||||
* @see com.djrapitops.plan.data.store.PlaceholderKey for placeholder information
|
||||
*/
|
||||
public class NetworkContainer extends SupplierDataContainer {
|
||||
public class NetworkContainer extends DynamicDataContainer {
|
||||
|
||||
private final ServerContainer bungeeContainer;
|
||||
|
||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
||||
* @author Rsl1122
|
||||
* @see com.djrapitops.plan.data.store.keys.PlayerKeys For Key objects.
|
||||
*/
|
||||
public class PlayerContainer extends SupplierDataContainer {
|
||||
public class PlayerContainer extends DynamicDataContainer {
|
||||
|
||||
private Map<Long, ActivityIndex> activityIndexCache;
|
||||
|
||||
|
@ -22,5 +22,5 @@ package com.djrapitops.plan.data.store.containers;
|
||||
* @author Rsl1122
|
||||
* @see com.djrapitops.plan.data.store.keys.ServerKeys For Key objects.
|
||||
*/
|
||||
public class ServerContainer extends SupplierDataContainer {
|
||||
public class ServerContainer extends DynamicDataContainer {
|
||||
}
|
Loading…
Reference in New Issue
Block a user