Search in sources :

Example 6 with GridCacheContextInfo

use of org.apache.ignite.internal.processors.cache.GridCacheContextInfo in project ignite by apache.

the class IgniteH2Indexing method closeCacheOnClient.

/**
 * {@inheritDoc}
 */
@Override
public void closeCacheOnClient(String cacheName) {
    GridCacheContextInfo cacheInfo = registeredCacheInfo(cacheName);
    // Only for SQL caches.
    if (cacheInfo != null) {
        parser.clearCache();
        cacheInfo.clearCacheContext();
    }
}
Also used : GridCacheContextInfo(org.apache.ignite.internal.processors.cache.GridCacheContextInfo)

Aggregations

GridCacheContextInfo (org.apache.ignite.internal.processors.cache.GridCacheContextInfo)6 IgniteCheckedException (org.apache.ignite.IgniteCheckedException)2 Serializable (java.io.Serializable)1 SQLException (java.sql.SQLException)1 ArrayList (java.util.ArrayList)1 Collection (java.util.Collection)1 Collections (java.util.Collections)1 Collections.emptySet (java.util.Collections.emptySet)1 Collections.newSetFromMap (java.util.Collections.newSetFromMap)1 Collections.singleton (java.util.Collections.singleton)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 IdentityHashMap (java.util.IdentityHashMap)1 Iterator (java.util.Iterator)1 LinkedHashMap (java.util.LinkedHashMap)1 LinkedList (java.util.LinkedList)1 List (java.util.List)1 Map (java.util.Map)1 Objects.isNull (java.util.Objects.isNull)1 Objects.nonNull (java.util.Objects.nonNull)1