public class AlwaysHoleFillPolicy extends Object implements IHoleFillPolicy
Created by mwei on 4/6/17.
Constructor and Description |
---|
AlwaysHoleFillPolicy() |
Modifier and Type | Method and Description |
---|---|
ILogData |
peekUntilHoleFillRequired(long address,
Function<Long,ILogData> peekFunction)
Apply the given peek function until hole filling is required or
committed data is returned.
|
@Nonnull public ILogData peekUntilHoleFillRequired(long address, Function<Long,ILogData> peekFunction) throws HoleFillRequiredException
peekUntilHoleFillRequired
in interface IHoleFillPolicy
address
- The address to apply the function.peekFunction
- The function to use to peek data
from the log.HoleFillRequiredException
- If hole filling is required.Copyright © 2019 CorfuDB. All rights reserved.