Class AbstractStatsStoreItem

    • Field Detail

      • context

        protected XWikiContext context
        The XWiki context clone made when this statistics event occurred.
      • name

        protected String name
        The statistic name.
      • periodDate

        protected Date periodDate
        The period date.
      • period

        protected int period
        The period.
    • Constructor Detail

      • AbstractStatsStoreItem

        public AbstractStatsStoreItem​(String name,
                                      Date periodDate,
                                      StatsUtil.PeriodType periodType,
                                      XWikiContext context)
        Parameters:
        name - the statistic name.
        periodDate - the period date.
        periodType - the period type.
        context - the XWiki context.
    • Method Detail

      • storeInternal

        protected abstract void storeInternal​(List<XWikiStatsStoreItem> statsList)
        Store provided statistics into the database.
        Parameters:
        statsList - the list of statistics item to store.
        Since:
        2.2.4