Package com.github.ambry.store
Interface MessageStoreHardDelete
-
public interface MessageStoreHardDelete
The component used by the store to hard delete entries in the log.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<HardDeleteInfo>
getHardDeleteMessages(MessageReadSet readSet, StoreKeyFactory factory, java.util.List<byte[]> recoveryInfoList)
Returns an iterator over the HardDeleteInfo of the messages in the readSet.
-
-
-
Method Detail
-
getHardDeleteMessages
java.util.Iterator<HardDeleteInfo> getHardDeleteMessages(MessageReadSet readSet, StoreKeyFactory factory, java.util.List<byte[]> recoveryInfoList) throws java.io.IOException
Returns an iterator over the HardDeleteInfo of the messages in the readSet.- Parameters:
readSet
- The set of messages to be replaced.factory
- the store key factory.recoveryInfoList
- An optional list of recoveryInfo messages.- Returns:
- iterator over the HardDeleteInfo for the messages in the readSet.
- Throws:
java.io.IOException
-
-