public class

NoOpWriteAheadLog

extends Object
implements WriteAheadLog
java.lang.Object
   ↳ com.netflix.astyanax.impl.NoOpWriteAheadLog

Summary

Public Constructors
NoOpWriteAheadLog()
Public Methods
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();
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.netflix.astyanax.WriteAheadLog

Public Constructors

public NoOpWriteAheadLog ()

Public Methods

public WriteAheadEntry createEntry ()

Add an entry to WAL before it is sent to Cassandra.

Throws
WalException

public WriteAheadEntry readNextEntry ()

Read the next entry to retry from the wall. Call remove if successful or retryEntry if unable to write to cassandra.

public void removeEntry (WriteAheadEntry entry)

Remove an entry from the WAL after it was successfully written to cassandra

public void retryEntry (WriteAheadEntry entry)

Retry an entry retrieved by calling getNextEntry();