Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

ClientUIDHandler.getNameFromUID() question

For one certain Entry, when I read it out of the space and call ClientUIDHandler.getNameFromUID(uid) on the UID of this Entry, the getNameFromUID() method simply returns the string "E". Why does this happen? What does this mean? I've never seen it do this before.

thanks,

-dave

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2909]{quote}

asked 2009-02-26 11:07:01 -0500

jazzbutcher gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

How do you get this? What is the UID you are getting
This is internal and should not be exposed to the user.
Shay

answered 2009-02-26 13:46:35 -0500

shay hassidim gravatar image
edit flag offensive delete link more
0

Also it seems that this mystery UID is 33 characters long instead of the 54 characters long that other UIDs are.

What would cause this?

thanks,

-dave

answered 2009-02-26 13:43:35 -0500

jazzbutcher gravatar image
edit flag offensive delete link more

Comments

I'm not sure what you mean. Any Entry written to the space can be read out and the UID can be looked at, if one follows the EntryInfo conventions for declaring an Entry with the following field:

transient private EntryInfo m_EntryInfo;

As described in: http://www.gigaspaces.com/wiki/displa...

We use the UID and ClientUIDHandler calls to map between the UID and an application-specific ID#. We are not using XAP/POJO features we are only using Entries.

I do not know why the UID is shorter for this one particular Entry that is written to the space. What does it mean when one gets an "E" back from ClientUIDHandler.getNameFromUID() ???

Here is the short UID: -1725725174^34^E^1235666898053^11

As I said, all other UIDs from all other Entries are much longer (20+ characters longer it seems).

-dave

jazzbutcher gravatar imagejazzbutcher ( 2009-02-26 14:11:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-02-26 11:07:01 -0500

Seen: 57 times

Last updated: Feb 26 '09