@Override public void removeAssociation(AssociationKey key, AssociationContext associationContext) { Cache<AK, Map<RowKey, Map<String, Object>>> cache = getCacheManager().getAssociationCache(key.getMetadata()); AK cacheKey = getKeyProvider().getAssociationCacheKey(key); AtomicMapLookup.removeAtomicMap(cache, cacheKey); }
@Override public void removeAssociation(AssociationKey key) { Cache<AssociationKey, Map<RowKey, Map<String, Object>>> cache = provider.getCache(ASSOCIATION_STORE); AtomicMapLookup.removeAtomicMap(cache, key); }
@Override public void removeTuple(EntityKey key, TupleContext tupleContext) { Cache<EK, Map<String, Object>> cache = getCacheManager().getEntityCache(key.getMetadata()); EK cacheKey = getKeyProvider().getEntityCacheKey(key); AtomicMapLookup.removeAtomicMap(cache, cacheKey); }
@Override public void removeTuple(EntityKey key) { Cache<EntityKey, Map<String, Object>> cache = provider.getCache(ENTITY_STORE); AtomicMapLookup.removeAtomicMap(cache, key); }