com.bea.wlevs.eventstore
Interface EventStoreCursor


public interface EventStoreCursor

An iterator over events returned from a query.

See Also:
EventStore.query(java.lang.String, com.bea.wlevs.eventstore.EventStoreTransaction)

Method Summary
 void close()
          Releases the resources used by this cursor.
 boolean hasNext()
          Returns true if there are events remaining in this cursor.
 java.lang.Object next()
          Returns the next event, or null if there are no more events.
 

Method Detail

hasNext

public boolean hasNext()
                throws EventStoreException
Returns true if there are events remaining in this cursor.

next

public java.lang.Object next()
                      throws EventStoreException
Returns the next event, or null if there are no more events.

close

public void close()
Releases the resources used by this cursor.


Copyright © 2007 BEA Systems All Rights Reserved.