|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.core.journal.DefaultJournalStore
public class DefaultJournalStore
| Constructor Summary | |
|---|---|
DefaultJournalStore()
|
|
| Method Summary | |
|---|---|
boolean |
ack(long revision)
Records a ack for a change |
void |
destroy()
|
long |
getCurrentRevision()
|
java.lang.String |
getFileName()
|
void |
init(DirectoryService service)
Initialize the interceptor |
boolean |
log(LdapPrincipal principal,
long revision,
org.apache.directory.shared.ldap.ldif.LdifEntry forward)
Stores an event into the journal. |
boolean |
nack(long revision)
Records a nack for a change |
void |
setFileName(java.lang.String fileName)
|
void |
setWorkingDirectory(java.lang.String workingDirectoryName)
|
void |
sync()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultJournalStore()
| Method Detail |
|---|
public void destroy()
throws java.lang.Exception
destroy in interface JournalStorejava.lang.Exception
public void init(DirectoryService service)
throws java.lang.Exception
init in interface JournalStorejava.lang.Exception
public boolean log(LdapPrincipal principal,
long revision,
org.apache.directory.shared.ldap.ldif.LdifEntry forward)
log in interface JournalStoreprincipal - The principal who is logging the changerevision - The operation revisionforward - The change to logpublic boolean ack(long revision)
ack in interface JournalStorerevision - The change revision which is acked
true if the ack has been written
java.lang.Exception - if there are problems logging the ackpublic boolean nack(long revision)
nack in interface JournalStorerevision - The change revision which is nacked
true if the nack has been written
java.lang.Exception - if there are problems logging the nack
public void sync()
throws java.lang.Exception
sync in interface JournalStorejava.lang.Exceptionpublic long getCurrentRevision()
getCurrentRevision in interface JournalStorepublic java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
setFileName in interface JournalStorefileName - the fileName to setpublic void setWorkingDirectory(java.lang.String workingDirectoryName)
setWorkingDirectory in interface JournalStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||