com.netflix.astyanax
Interface WriteAheadEntry
public interface WriteAheadEntry
readMutation
void readMutation(MutationBatch mutation)
throws com.netflix.astyanax.connectionpool.exceptions.WalException
- Fill a MutationBatch from the data in this entry
- Parameters:
mutation
-
- Throws:
com.netflix.astyanax.connectionpool.exceptions.WalException
writeMutation
void writeMutation(MutationBatch mutation)
throws com.netflix.astyanax.connectionpool.exceptions.WalException
- Write the contents of this mutation to the WAL entry. Shall be called
only once.
- Parameters:
mutation
-
- Throws:
com.netflix.astyanax.connectionpool.exceptions.WalException