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

Ask Your Question
0

Gigaspaces unit testing

Hi. I have ine little questions about unit tests. If I'm use embeded space for testing I just need to have a "gslicense.xml" file in classpath?

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

asked 2013-04-21 12:51:32 -0500

ssherbakov 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

GigaSpaces search for the license key file using the following search path:
- JVM Classpath.
- Current directory
- com.gs.home system property.
- Using the com.gs.licensekey system property

See more here:
http://wiki.gigaspaces.com/wiki/display/XAP95/LicenseKey

Shay

answered 2013-04-24 07:13:09 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Thank you for reply! And I want to ask you one more question. When I see paging support in gigaspaces, using GSIterator. As I understand - the CURRENT uses only for those objects that presented in space at the time of the iterator call. But If I use FUTURE - uses onl the objects, which arrives i space after iterator call. I'm right? And if I remove object from space and use CURRENT - the iterator returnd this object?

ssherbakov gravatar imagessherbakov ( 2013-04-27 14:58:24 -0500 )edit

If the object was removed before the iterator has reached it, it will not be returned by the iterator. This is not a snapshot, but simply iterates on the currently existing objects not in atomic fashion.

Eitan

eitany gravatar imageeitany ( 2013-04-29 02:41:28 -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: 2013-04-21 12:51:32 -0500

Seen: 228 times

Last updated: Apr 24 '13