3.25.1. Space Interface

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);
}