How to get a unique string in java?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xxhh11
    New Member
    • Jan 2007
    • 3

    How to get a unique string in java?

    Hi all:
    I want to get a unique string to distinguish the Thread.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by xxhh11
    Hi all:
    I want to get a unique string to distinguish the Thread.
    Post your code (using code tags) and explain what you want to do. What you've posted there doesn't make much sense.

    Comment

    • xxhh11
      New Member
      • Jan 2007
      • 3

      #3
      Originally posted by r035198x
      Post your code (using code tags) and explain what you want to do. What you've posted there doesn't make much sense.
      The scene is that I use JGroups to do the RPC task, and then the problem
      is that on the server one, I can not distinguish the Thread from the other server.

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by xxhh11
        The scene is that I use JGroups to do the RPC task, and then the problem
        is that on the server one, I can not distinguish the Thread from the other server.
        Still not making much sense.

        Comment

        • JulianP
          New Member
          • Nov 2006
          • 11

          #5
          Originally posted by xxhh11
          The scene is that I use JGroups to do the RPC task, and then the problem
          is that on the server one, I can not distinguish the Thread from the other server.

          If you have any code, could you please post it. With out any code we arent exactly sure what your talking about.

          Comment

          Working...