Class AdminWebService.TicketsBlock

java.lang.Object
ubic.gemma.rest.AdminWebService.TicketsBlock
Enclosing class:
AdminWebService

public static class AdminWebService.TicketsBlock extends Object
Author:
phase 3 admin-panel wiring
  • Field Details

    • openCountByType

      public Map<String,Long> openCountByType
      Open-ticket counts keyed by Enum.name(). Includes SCRATCHPAD, which is what makes the exclusion in openCount / oldestOpenAgeDays visible: the gap between openCount and the sum of this map is the scratchpad count.
    • openCount

      public long openCount
      Open tickets, EXCLUDING SCRATCHPAD. A scratchpad is never resolved — a curator finishes with a dataset by removing it from the scratchpad — so counting one here would add a permanent +1 per curator to the monitoring figure.
    • oldestOpenAgeDays

      @Nullable public Long oldestOpenAgeDays
      Days since the oldest non-terminal, non-SCRATCHPAD ticket was created; null when no open tickets exist. Scratchpads are excluded for the same reason as openCount, and the effect would be worse here: a scratchpad outlives every real ticket, so it would pin this to the age of the first one provisioned and it would never move again.
  • Constructor Details

    • TicketsBlock

      public TicketsBlock()