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

Ask Your Question
0

Question about getting PU information

Hi all, I have a question by any means I can get the PU information if such PU is a notify-container and it will be notified when there is a "write" event arrived among the spaces.

Any api in GigaSpaces can tell the PU information such as the name of it in the function defined in the method-adapter in pu.xml?

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

asked 2009-03-15 21:32:05 -0600

twinsenc gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

If your pu is written in Java, in 7.0 M6 you should see alot of new information displayed regarding the event listener containers within a processing unit.

Eitan.

answered 2009-03-16 01:23:18 -0600

eitany gravatar image
edit flag offensive delete link more
0

We do not provide such API.

What you can get is the list of registered notification (notify templates) for a given space using the com.j_spaces.core.admin.SpaceRuntimeInfo: IJSpace spaceProxy; ... IRemoteJSpaceAdmin spaceAdmin = spaceProxy.getAdmin(); SpaceRuntimeInfo rtInfo = spaceAdmin.getRuntimeInfo(); Integer NoifyTemplatesCount = rtInfo.m_NumOFTemplates.size();

The above is relevant for none-clustered space. With a clustered space you will need to extract the direct proxies from the clustered proxy and perform the same for each space.

See the new Admin API comes with 7.0: http://www.gigaspaces.com/wiki/displa...

Shay

answered 2009-03-16 00:36:35 -0600

shay hassidim gravatar image
edit flag offensive delete link more

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-03-15 21:32:05 -0600

Seen: 53 times

Last updated: Mar 16 '09