|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface for the iterators returned by the contents()
method of JavaSpaceAdmin. Note
AdminIterators do not survive restarts of the
underlying space.
JavaSpaceAdmin| Method Summary | |
void |
close()
Tell the server that this iterator is no longer in use. |
void |
delete()
The effect of this call depends on the most recent call to next():
If the last call to next() returned an
Entry that entry will be removed from the space. |
Entry |
next()
Return the next entry in the sequence. |
| Method Detail |
public Entry next()
throws UnusableEntryException,
java.rmi.RemoteException
null
if there are no more matching entries in the space.
This method is idempotent in the face of RemoteExceptions.
public void delete()
throws java.rmi.RemoteException
next():
next() returned an
Entry that entry will be removed from the space.
next() threw a
UnusableEntryException the Entry that
could not be deserialized will be removed from the space.
next() returned
null, threw a RemoteException, or
next() has not yet been called on this iterator a
IllegalStateException will be thrown and no entry will
be removed.
RemoteException.
next() has not be
called on this iterator, or the last invocation of
next() returned null or threw
RemoteException.
public void close()
throws java.rmi.RemoteException
close() method.
This method is idempotent in the face of RemoteException.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||