Package org.voltdb.dtxn.InitiatorStats

Examples of org.voltdb.dtxn.InitiatorStats.InvocationInfo


        Map<String, InvocationInfo> procInfoMap = m_connectionStates.get(connectionId);
        if (procInfoMap == null) {
            procInfoMap = new NonBlockingHashMap<String, InvocationInfo>();
            needToInsert = true;
        }
        InvocationInfo info = procInfoMap.get(procedureName);
        if(info == null){
            info = new InvocationInfo(connectionHostname);
            procInfoMap.put(procedureName, info);
        }
        info.processInvocation((int)TimeUnit.NANOSECONDS.toMillis(deltaNanos), status);
        m_latencyInfo.recordValue(Math.max(1, Math.min(TimeUnit.NANOSECONDS.toMicros(deltaNanos), m_latencyInfo.getHighestTrackableValue())));
        if (needToInsert) {
            m_connectionStates.put(connectionId, procInfoMap);
        }
    }
View Full Code Here

TOP

Related Classes of org.voltdb.dtxn.InitiatorStats.InvocationInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.