public class CustomFieldUsageDataWriter extends Object
CustomFieldUsageDataService
since 8.16Modifier and Type | Field and Description |
---|---|
static String |
SYSTEM_PROPERTY_LAST_USAGE_FLUSH_PERIOD_MINUTES |
Constructor and Description |
---|
CustomFieldUsageDataWriter(CustomFieldUsageDAO usageDAO,
CustomFieldManager customFieldManager,
com.atlassian.event.api.EventPublisher eventPublisher,
CustomFieldUsageEnabledCheck customFieldUsageEnabledCheck) |
Modifier and Type | Method and Description |
---|---|
void |
flushUsageDataToDB() |
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) |
public static final String SYSTEM_PROPERTY_LAST_USAGE_FLUSH_PERIOD_MINUTES
public CustomFieldUsageDataWriter(CustomFieldUsageDAO usageDAO, CustomFieldManager customFieldManager, com.atlassian.event.api.EventPublisher eventPublisher, CustomFieldUsageEnabledCheck customFieldUsageEnabledCheck)
@EventListener public void onPluginFrameworkStartedEvent(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
@EventListener public void onPluginFrameworkShutdownEvent(com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
public void flushUsageDataToDB()
Copyright © 2002-2024 Atlassian. All Rights Reserved.