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

Ask Your Question
0

Cpp - Gigaspace 7 - Few questions

We are trying to use CPP on linux with GigaSpaces and got some question.

  1. Is Admin API exposed in Cpp as well.
  2. Will we able to programmatically deploy/updeploy PU's.

General Question 1. Can we listen for notification of the property changed on the given object. What I mean is I have a pojo with 10 properties. One client did partial update on a single property. While receiving notification will I be able to tell which property is changed?

Thanks

Venkat

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

asked 2009-09-14 14:12:09 -0500

venkatg gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Venkat,

1. The Admin API is not provided right now with the CPP API. Will be provided with future versions.
2. Untill the Admin API will be supported with the CPP API - You will need to use the CLI from a CPP program to deploy/undeploy.

You will not be able to identify which property been changed. The notification deliver the full object back to the client.
you might want to explore using the space filters for such.

Shay

answered 2009-09-14 14:23:12 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Thanks for the quick reply. We are trying to do this on Linux, how to use CLI - Are you suggesting to use mono?

Thanks
Venkat

venkatg gravatar imagevenkatg ( 2009-09-14 14:46:18 -0500 )edit

Just call the scripts from the CPP application.

Shay

shay hassidim gravatar imageshay hassidim ( 2009-09-14 14:50:03 -0500 )edit

See: http://www.gigaspaces.com/wiki/displa... The com.j_spaces.core.filters.ISpaceFilter. process (SpaceContext context, ISpaceFilterEntry[] entries, int operationCode can be used to find which fields been modified. Shay

shay hassidim gravatar imageshay hassidim ( 2009-09-14 23:28:49 -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-09-14 14:12:09 -0500

Seen: 23 times

Last updated: Sep 14 '09