public static void toDeferred(TraceContext o) { deferredEntry.put(o.txid, o); }
public static void toDeferred(TraceContext o) { deferredEntry.put(o.txid, o); }
public static long start(Thread thread, TraceContext o) { long key = thread.getId(); local.set(o); entry.put(key, o); return key; }
public static long start(Thread thread, TraceContext o) { long key = thread.getId(); local.set(o); entry.put(key, o); return key; }
protected void add(SocketStep m) { if (sockets == null) sockets = new LongKeyMap<Step>(); long skid = m.getSocketId(); SocketSum sksum = (SocketSum) sockets.get(skid); if (sksum != null) { sksum.add(m.elapsed, sksum.error != 0); return; } if (totalCount >= BUFFER_SIZE) { process(); } sksum = new SocketSum(); sksum.ipaddr = m.ipaddr; sksum.port = m.port; sksum.add(m.elapsed, sksum.error != 0); sockets.put(skid, sksum); totalCount++; }
protected void add(SocketStep m) { if (sockets == null) sockets = new LongKeyMap<Step>(); long skid = m.getSocketId(); SocketSum sksum = (SocketSum) sockets.get(skid); if (sksum != null) { sksum.add(m.elapsed, sksum.error != 0); return; } if (totalCount >= BUFFER_SIZE) { process(); } sksum = new SocketSum(); sksum.ipaddr = m.ipaddr; sksum.port = m.port; sksum.add(m.elapsed, sksum.error != 0); sockets.put(skid, sksum); totalCount++; }
public static void toDeferred(TraceContext o) { deferredEntry.put(o.txid, o); }
public static long start(Thread thread, TraceContext o) { long key = thread.getId(); local.set(o); entry.put(key, o); return key; }
protected void add(SocketStep m) { if (sockets == null) sockets = new LongKeyMap<Step>(); long skid = m.getSocketId(); SocketSum sksum = (SocketSum) sockets.get(skid); if (sksum != null) { sksum.add(m.elapsed, sksum.error != 0); return; } if (totalCount >= BUFFER_SIZE) { process(); } sksum = new SocketSum(); sksum.ipaddr = m.ipaddr; sksum.port = m.port; sksum.add(m.elapsed, sksum.error != 0); sockets.put(skid, sksum); totalCount++; }