com.netflix.astyanax
Interface WriteAheadEntry


public interface WriteAheadEntry

Author:
elandau

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 WalException
Fill a MutationBatch from the data in this entry

Parameters:
mutation -
Throws:
WalException

writeMutation

void writeMutation(MutationBatch mutation)
                   throws WalException
Write the contents of this mutation to the WAL entry. Shall be called only once.

Parameters:
mutation -
Throws:
WalException


Copyright © 2012. All Rights Reserved.