ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valeri Chibaev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6432) SpringCacheManager#getCacheNames() is empty
Date Tue, 19 Sep 2017 06:58:00 GMT
Valeri Chibaev created IGNITE-6432:
--------------------------------------

             Summary: SpringCacheManager#getCacheNames() is empty
                 Key: IGNITE-6432
                 URL: https://issues.apache.org/jira/browse/IGNITE-6432
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Valeri Chibaev


Application ignite started with org.apache.ignite.IgniteSpringBean, then SpringCacheManager
created
{code}
<bean id="ignite-config" class="org.apache.ignite.configuration.IgniteConfiguration"  p:igniteInstanceName="ignite-grid">
  <property name="cacheConfiguration">
    <list>
      <bean class="org.apache.ignite.configuration.CacheConfiguration" p:name="refdata.labelType"
/>
    </list>
  </property>
</bean>
<bean id="ignite" class="org.apache.ignite.IgniteSpringBean" p:configuration-ref="ignite-config"
/>
<bean id="cacheManager" class="org.apache.ignite.cache.spring.SpringCacheManager" depends-on="ignite"
p:igniteInstanceName="ignite-grid" />
{code}
If I'll check cacheManager.getCacheNames() - it is empty.
But if I check cacheManager.getCache("refdata.labelType") metrics and repeat call cacheManager.getCacheNames()
- it is not empty.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message