Class ConfluenceUsageInfoInstrumentProvider
- java.lang.Object
-
- com.atlassian.confluence.util.profiling.ConfluenceUsageInfoInstrumentProvider
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class ConfluenceUsageInfoInstrumentProvider extends Object implements org.springframework.beans.factory.InitializingBean
Main class which provide Confluence usage statistic via Instrument. Currently, we don't have anyway to get accurate data except DB call. So now, I will query data and put it into cache which will expire after 10 mins. If JMX is enable then within 5 mins we only have 1 single DB call (which I think not so bad because we have 2 conditions someone continuously get cache and we don't have any value in cache ). Another note that we only expose instruments after we have DB available.- Since:
- 6.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFLUENCE_USAGE_INSTRUMENT_CACHE_KEY
Deprecated.since 7.5 UseCACHE_NAME
-
Constructor Summary
Constructors Constructor Description ConfluenceUsageInfoInstrumentProvider(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.tenancy.api.TenantAccessor tenantAccessor, SystemInformationService systemInformationService, com.atlassian.cache.CacheManager cacheManager, ConfluenceInstrumentRegistry confluenceInstrumentRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
-
-
-
Field Detail
-
CONFLUENCE_USAGE_INSTRUMENT_CACHE_KEY
@Deprecated public static final String CONFLUENCE_USAGE_INSTRUMENT_CACHE_KEY
Deprecated.since 7.5 UseCACHE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfluenceUsageInfoInstrumentProvider
public ConfluenceUsageInfoInstrumentProvider(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.tenancy.api.TenantAccessor tenantAccessor, SystemInformationService systemInformationService, com.atlassian.cache.CacheManager cacheManager, ConfluenceInstrumentRegistry confluenceInstrumentRegistry)
-
-