Class StatisticsIdCache

java.lang.Object
com.djrapitops.plan.gathering.StatisticsIdCache
All Implemented Interfaces:
SubSystem

@Singleton public class StatisticsIdCache extends Object implements SubSystem
Cache statistic ids for insert/update.
  • Constructor Details

  • Method Details

    • enable

      public void enable()
      Description copied from interface: SubSystem
      Performs enable actions for the subsystem.
      Specified by:
      enable in interface SubSystem
    • getStatisticId

      public @Nullable Integer getStatisticId(String statisticName)
    • getStatisticsById

      public Map<Integer,Integer> getStatisticsById(Map<String,Integer> statisticsByName)
    • missingKeys

      public Set<String> missingKeys(Collection<String> keys)
    • storePlayerStatistics

      public void storePlayerStatistics(UUID playerUUID, ServerUUID serverUUID)
    • disable

      public void disable()
      Description copied from interface: SubSystem
      Performs disable actions for the subsystem
      Specified by:
      disable in interface SubSystem