public Set < String > getCacheNames ( ) { Set < String > ret = new HashSet <> ( ) ; if ( kojiConfig . isEnabled ( ) && kojiConfig . isQueryCacheEnabled ( ) ) { ret . add ( KOJI_TAGS ) ; ret . add ( KOJI_BUILD_INFO ) ; ret . add ( KOJI_BUILD_INFO_CONTAINING_ARTIFACT ) ; ret . add ( KOJI_ARCHIVES_FOR_BUILD ) ; ret . add ( KOJI_ARCHIVES_MATCHING_GA ) ; } return ret ; }
This is to register ISPN caches produced by this provider so that the Metrics knows them .