com.netflix.astyanax
Interface WriteAheadEntry


public interface WriteAheadEntry


Method Summary
 void readMutation(MutationBatch mutation)
          Fill a MutationBatch from the data in this entry
 void writeMutation(MutationBatch mutation)
          Write the contents of this mutation to the WAL entry.
 

Method Detail

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