public static TraceContext getContext(long key) { return entry.get(key); }
public static TraceContext getContext(long key) { return entry.get(key); }
public static TraceContext getDeferredContext(long key) { return deferredEntry.get(key); }
public static TraceContext getDeferredContext(long key) { return deferredEntry.get(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 TraceContext getContext(long key) { return entry.get(key); }
public static TraceContext getDeferredContext(long key) { return deferredEntry.get(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++; }