interface JavaSpace
{
Lease write (Entry e, Transaction tx, long lease);
Entry read (Entry template, Transaction tx, long timeout);
Entry readIfExists (Entry template, Transaction tx, long timeout);
Entry take (Entry template, Transaction tx, long timeout);
Entry takeIfExists (Entry template, Transaction tx, long timeout);
EventRegistration notify (
Entry template,
Transaction tx,
RemoteEventListener listener,
long lease,
MarshalledObject handback);
Entry snapshot (Entry e);
}
write - write an entry into space
read - read (but preserve) a matching entry from space (blocking)
take - read (and remove) a matching entry from space (blocking)
notify - notify about a matching entry in space