/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.service.MetricsBin
 *  com.l7tech.gateway.common.service.ServiceState
 *  com.l7tech.objectmodel.Goid
 *  org.hibernate.HibernateException
 *  org.hibernate.Session
 *  org.hibernate.jdbc.Work
 *  org.springframework.orm.hibernate5.HibernateCallback
 */
package com.l7tech.server.service;

import com.l7tech.gateway.common.service.MetricsBin;
import com.l7tech.gateway.common.service.ServiceState;
import com.l7tech.objectmodel.Goid;
import com.l7tech.server.service.ServiceMetricsManagerImpl;
import com.l7tech.server.service.ad;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.jdbc.Work;
import org.springframework.orm.hibernate5.HibernateCallback;

class ac
implements HibernateCallback {
    final long val$startTime;
    final int val$binResolution;
    final Goid val$serviceGoid;
    final ServiceState val$serviceState;
    final int val$summaryResolution;
    final ServiceMetricsManagerImpl this$0;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    ac(ServiceMetricsManagerImpl serviceMetricsManagerImpl, long l2, int n2, Goid goid, ServiceState serviceState, int n3) {
        this.this$0 = serviceMetricsManagerImpl;
        this.val$startTime = l2;
        this.val$binResolution = n2;
        this.val$serviceGoid = goid;
        this.val$serviceState = serviceState;
        this.val$summaryResolution = n3;
    }

    public Object doInHibernate(Session session) throws HibernateException {
        MetricsBin metricsBin = new MetricsBin(this.val$startTime, this.this$0.b(), this.val$binResolution, this.this$0.g, this.val$serviceGoid);
        Goid goid = (Goid)ServiceMetricsManagerImpl.f.generate(null, metricsBin);
        session.doWork((Work)new ad(this, goid, metricsBin));
        return null;
    }
}

