2 Replies Latest reply: Apr 5, 2013 3:19 AM by user10599705 RSS

    I would like to know the role of the each thread on coherence

    user10599705
      Help me.
      I would like to know the role of the each thread on coherence.
      There are too many kind of threads.

      Example ~
      --------------------------------------------------------------------------------------------------------------------------------------------------
      GC Slave     GC Slave     RUNNABLE
      RMI TCP Accept-1972     RMI TCP Accept-1972     RUNNABLE
      Health Center trace subscriber     Health Center trace subscriber     RUNNABLE
      LT=0:P=342534:O=0:port=55170     LT=0:P=342534:O=0:port=55170     RUNNABLE
      Attach API wait loop     Attach API wait loop     RUNNABLE
      PacketListener1     PacketListener1     RUNNABLE
      PacketListener1P     PacketListener1P     RUNNABLE
      PacketListenerN     PacketListenerN     RUNNABLE
      Cluster|Member(Id=1, Timestamp=2013-04-05 10:45:44.655, Address=192.168.240.157:8088, MachineId=50044, Location=site:,machine:TMTEST-PC,process:5316, Role=CoherenceServer)     Cluster|Member(Id=1, Timestamp=2013-04-05 10:45:44.655, Address=192.168.240.157:8088, MachineId=50044, Location=site:,machine:TMTEST-PC,process:5316, Role=CoherenceServer)     RUNNABLE
      RT=0:P=342534:O=0:TCPTransportConnection[addr=192.168.240.157,port=55178,local=55170]     RT=0:P=342534:O=0:TCPTransportConnection[addr=192.168.240.157,port=55178,local=55170]     RUNNABLE
      Finalizer thread     Finalizer thread     RUNNABLE
      WT=10     WT=10     RUNNABLE
      main     main     TIMED_WAITING
      IpMonitor     IpMonitor     TIMED_WAITING
      Invocation:Management:EventDispatcher     Invocation:Management:EventDispatcher     TIMED_WAITING
      Invocation:Management     Invocation:Management     TIMED_WAITING
      DistributedCache     DistributedCache     TIMED_WAITING
      JMX server connection timeout 52     JMX server connection timeout 52     TIMED_WAITING
      RMI Scheduler(0)     RMI Scheduler(0)     WAITING
      Thread-6     Thread-6     WAITING
      stop JMX Server on shutdown     stop JMX Server on shutdown     WAITING
      Logger@9228429 3.7.1.7     Logger@9228429 3.7.1.7     WAITING
      PacketReceiver     PacketReceiver     WAITING
      PacketPublisher     PacketPublisher     WAITING
      PacketSpeaker     PacketSpeaker     WAITING
      WT=7     WT=7     WAITING
      WT=9     WT=9     WAITING
      -----------------------------------------------------------------------------------------------------------------------------------------------
        • 1. Re: I would like to know the role of the each thread on coherence
          alexey.ragozin
          Briefly

          PacketListener1 PacketListener1P PacketListenerN - listening IO threads for TCMP transport protocol
          Cluster|Member(Id=1, Timestamp=2013-04-05 10:45:44.655, Address=192.168.240.157:8088, MachineId=50044, Location=site:,machine:TMTEST-PC,process:5316, Role=CoherenceServer) - main thread for cluster service (discovery, node joing / leave, etc)
          IpMonitor - IP monitor, participates in death detection scheme
          Invocation:Management:EventDispatcher - Event dispatch thread for distributed JMX service in Coherence
          Invocation:Management - main thread for distributed JMX service in Coherence
          DistributedCache - main thread for DistributedCache cache service
          Logger@9228429 3.7.1.7 - Coherence async logging thread
          PacketReceiver - Thread dispatching incomming network packets
          PacketPublisher - Thread sending out packets via TCMP
          PacketSpeaker - Thread sending out packets via TCMP (offloads some work from PacketPublisher for better core utilization)