Class UnicastTestTcpSlow

java.lang.Object
org.jgroups.tests.UnicastTestTcpSlow

public class UnicastTestTcpSlow extends Object
Same as UnicastTest, but uses pure TCP instead of JGroups
  • Field Details

    • oob

      protected boolean oob
    • dont_bundle

      protected boolean dont_bundle
    • num_threads

      protected int num_threads
    • num_msgs

      protected int num_msgs
    • msg_size

      protected int msg_size
    • local

      protected InetSocketAddress local
    • remote

      protected InetSocketAddress remote
    • sock

      protected Socket sock
    • output

      protected DataOutputStream output
    • output_lock

      protected final Lock output_lock
    • srv_sock

      protected ServerSocket srv_sock
    • acceptor

      protected UnicastTestTcpSlow.Acceptor acceptor
    • start

      protected long start
    • stop

      protected long stop
    • total_time

      protected long total_time
    • msgs_per_sec

      protected long msgs_per_sec
    • print

      protected long print
    • current_value

      protected AtomicLong current_value
    • total_bytes

      protected AtomicLong total_bytes
    • TCP_NODELAY

      protected static final boolean TCP_NODELAY
      See Also:
    • SOCK_SEND_BUF_SIZE

      protected static final int SOCK_SEND_BUF_SIZE
      See Also:
    • SOCK_RECV_BUF_SIZE

      protected static final int SOCK_RECV_BUF_SIZE
      See Also:
    • START

      protected static final byte START
      See Also:
    • DATA

      protected static final byte DATA
      See Also:
  • Constructor Details

    • UnicastTestTcpSlow

      public UnicastTestTcpSlow()
  • Method Details