|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netflix.astyanax.impl.NoOpWriteAheadLog
public class NoOpWriteAheadLog
Constructor Summary | |
---|---|
NoOpWriteAheadLog()
|
Method Summary | |
---|---|
WriteAheadEntry |
createEntry()
Add an entry to WAL before it is sent to Cassandra. |
WriteAheadEntry |
readNextEntry()
Read the next entry to retry from the wall. |
void |
removeEntry(WriteAheadEntry entry)
Remove an entry from the WAL after it was successfully written to cassandra |
void |
retryEntry(WriteAheadEntry entry)
Retry an entry retrieved by calling getNextEntry(); |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoOpWriteAheadLog()
Method Detail |
---|
public WriteAheadEntry createEntry() throws com.netflix.astyanax.connectionpool.exceptions.WalException
WriteAheadLog
createEntry
in interface WriteAheadLog
com.netflix.astyanax.connectionpool.exceptions.WalException
public void removeEntry(WriteAheadEntry entry)
WriteAheadLog
removeEntry
in interface WriteAheadLog
public WriteAheadEntry readNextEntry()
WriteAheadLog
readNextEntry
in interface WriteAheadLog
public void retryEntry(WriteAheadEntry entry)
WriteAheadLog
retryEntry
in interface WriteAheadLog
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |