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

Ask Your Question

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 -0500

twinsenc's avatar

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

jaissefsfex's avatar
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

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.


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

eitany's avatar
edit flag offensive delete link more

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...


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

shay hassidim's avatar
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


Asked: 2009-03-15 21:32:05 -0500

Seen: 100 times

Last updated: Mar 16 '09