Class CustomFieldUsageDataWriter
java.lang.Object
com.atlassian.jira.issue.fields.usage.CustomFieldUsageDataWriter
See
CustomFieldUsageDataService
since 8.16-
Field Summary
-
Constructor Summary
ConstructorDescriptionCustomFieldUsageDataWriter
(CustomFieldUsageDAO usageDAO, CustomFieldManager customFieldManager, com.atlassian.event.api.EventPublisher eventPublisher, CustomFieldUsageEnabledCheck customFieldUsageEnabledCheck) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
onPluginFrameworkShutdownEvent
(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event) void
onPluginFrameworkStartedEvent
(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event) void
reportCustomFieldUpdates
(Map<Long, Timestamp> customFields) void
reportCustomFieldUpdates
(Set<Long> customFields, Timestamp timestamp)
-
Field Details
-
SYSTEM_PROPERTY_LAST_USAGE_FLUSH_PERIOD_MINUTES
- See Also:
-
-
Constructor Details
-
CustomFieldUsageDataWriter
public CustomFieldUsageDataWriter(CustomFieldUsageDAO usageDAO, CustomFieldManager customFieldManager, com.atlassian.event.api.EventPublisher eventPublisher, CustomFieldUsageEnabledCheck customFieldUsageEnabledCheck)
-
-
Method Details
-
onPluginFrameworkStartedEvent
@EventListener public void onPluginFrameworkStartedEvent(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event) -
onPluginFrameworkShutdownEvent
@EventListener public void onPluginFrameworkShutdownEvent(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event) -
flushUsageDataToDB
public void flushUsageDataToDB() -
reportCustomFieldUpdates
-
reportCustomFieldUpdates
-