|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.model.cursor.AbstractCursor<ReplicaEventMessage>
org.apache.directory.server.ldap.replication.provider.ReplicaJournalCursor
public class ReplicaJournalCursor
Define a cursor on top of a replication journal.
| Constructor Summary | |
|---|---|
ReplicaJournalCursor(JdbmTable<String,ReplicaEventMessage> journal,
String consumerCsn)
Creates a cursor on top of the given journal |
|
| Method Summary | |
|---|---|
void |
after(ReplicaEventMessage arg0)
|
void |
afterLast()
|
boolean |
available()
|
void |
before(ReplicaEventMessage arg0)
|
void |
beforeFirst()
|
void |
close()
|
void |
close(Exception cause)
|
boolean |
first()
|
ReplicaEventMessage |
get()
|
Iterator<ReplicaEventMessage> |
iterator()
|
boolean |
last()
|
boolean |
next()
|
boolean |
previous()
|
| Methods inherited from class org.apache.directory.shared.ldap.model.cursor.AbstractCursor |
|---|
checkNotClosed, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, setClosureMonitor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplicaJournalCursor(JdbmTable<String,ReplicaEventMessage> journal,
String consumerCsn)
throws Exception
journal - the log journalconsumerCsn - the consumer's CSN taken from cookie
Exception| Method Detail |
|---|
public void after(ReplicaEventMessage arg0)
throws Exception
Exception
public void afterLast()
throws Exception
Exceptionpublic boolean available()
public void before(ReplicaEventMessage arg0)
throws Exception
Exception
public void beforeFirst()
throws Exception
Exception
public boolean first()
throws Exception
Exception
public ReplicaEventMessage get()
throws Exception
Exception
public boolean last()
throws Exception
Exception
public boolean next()
throws Exception
Exception
public boolean previous()
throws Exception
Exception
public void close()
throws Exception
close in interface org.apache.directory.shared.ldap.model.cursor.Cursor<ReplicaEventMessage>close in class org.apache.directory.shared.ldap.model.cursor.AbstractCursor<ReplicaEventMessage>Exception
public void close(Exception cause)
throws Exception
close in interface org.apache.directory.shared.ldap.model.cursor.Cursor<ReplicaEventMessage>close in class org.apache.directory.shared.ldap.model.cursor.AbstractCursor<ReplicaEventMessage>Exceptionpublic Iterator<ReplicaEventMessage> iterator()
iterator in interface Iterable<ReplicaEventMessage>iterator in class org.apache.directory.shared.ldap.model.cursor.AbstractCursor<ReplicaEventMessage>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||