Hello, Alex. Issue looks trivial from your description. Can you clarify - What is the issues with obvious decision you describe?
В Чт, 21/06/2018 в 17:48 +0300, Александр Меньшиков пишет: > Hi, Igniters! > Can someone give me advice about IGNITE-8715 [1]? > It's a part of IEP-21 [2] about updating to JCache 1.1. > > According to JCache 1.0 and 1.1 specifications Cache#close() should clean > up all Closeable objects (CacheLoader, CacheWriter, CacheEntryListener, > ExpiryPolicy) created by factories. And in TCK 1.1 there are tests which > check it. > > As I see we haven't such functionality. Am I right? > > If so which solution will be the best one? I'm thinking about storing all > closeable objects in something like GridConcurrentHashSet and close all of > them when cache going to be closed. > Thoughts? > > [1] https://issues.apache.org/jira/browse/IGNITE-8715 > [2] > https://cwiki.apache.org/confluence/display/IGNITE/IEP-21:+JCache+1.1+support > <https://cwiki.apache.org/confluence/display/IGNITE/IEP-21%3A+JCache+1.1+support>
signature.asc
Description: This is a digitally signed message part
