Class AdminWebService.TicketsBlock
java.lang.Object
ubic.gemma.rest.AdminWebService.TicketsBlock
- Enclosing class:
AdminWebService
- Author:
- phase 3 admin-panel wiring
-
Field Summary
FieldsModifier and TypeFieldDescriptionDays since the oldest non-terminal, non-SCRATCHPADticket was created; null when no open tickets exist.longOpen tickets, EXCLUDINGSCRATCHPAD.Open-ticket counts keyed byEnum.name(). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
openCountByType
Open-ticket counts keyed byEnum.name(). IncludesSCRATCHPAD, which is what makes the exclusion inopenCount/oldestOpenAgeDaysvisible: the gap betweenopenCountand the sum of this map is the scratchpad count. -
openCount
public long openCountOpen tickets, EXCLUDINGSCRATCHPAD. 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
Days since the oldest non-terminal, non-SCRATCHPADticket was created; null when no open tickets exist. Scratchpads are excluded for the same reason asopenCount, 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()
-