Re: outrigger internal
Dan Creswell <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
Suzanne Morelli wrote:
> Hi,
>
> I've read in Dan Creswell's JavaSpaces Guide
> (http://www.dancres.org/cottage/javaspaces.html#commonques) that
> outrigger maintains a list of "pending takes" which may cause a new
> entry to be lost if the computer which was blocked on a take is shut
> down before the new entry becomes available into the space.
>
> I certainly believe him but I would like to known where to find the
> code associated with his explanation. I get lost browsing through
> OutriggerSpaceImpl, OperationJournal etc. Which source file /
> attribute / method should I be looking at?
>
OutriggerServerImpl::getMatch(EntryRep tmpl, Transaction tr, long
timeout, boolean takeIt,
boolean ifExists, QueryCookie queryCookieFromClient)
throws RemoteException, InterruptedException, TransactionException
In particular the QueryWatcher stuff.
For Blitz, you would need to look at SearchTasks and SpaceImpl.
> More generally, do you have any pointer to documents that explain how
> is the JavaSpace implemented?
>
Sorry, not that I'm aware of. Each JavaSpace implementation is actually
different and there are a large number of techniques one might combine
to get a working implementation which makes it difficult to document well.
There are some old papers around covering TupleSpaces/Linda which are
still relevant but that's all that I'm aware of.
Dan.
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html