/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  org.springframework.transaction.support.TransactionSynchronizationAdapter
 */
package com.l7tech.server.service;

import com.l7tech.server.event.system.ServiceCacheEvent;
import com.l7tech.server.service.ServiceCache;
import org.springframework.transaction.support.TransactionSynchronizationAdapter;

class ay
extends TransactionSynchronizationAdapter {
    final ServiceCacheEvent.Deleted val$deleted;
    final ServiceCache this$0;

    ay(ServiceCache serviceCache, ServiceCacheEvent.Deleted deleted) {
        this.this$0 = serviceCache;
        this.val$deleted = deleted;
    }

    public void afterCompletion(int n2) {
        if (n2 == 0) {
            this.this$0.removeFromCache(this.val$deleted.getService());
        }
    }
}

