public interface IFailureHandlerPolicy
Created by zlokhandwala on 11/21/16.
Modifier and Type | Method and Description |
---|---|
Layout |
generateLayout(Layout currentLayout,
CorfuRuntime corfuRuntime,
Set<String> failedNodes,
Set<String> healedNodes)
Generates a new layout based on the set of failures.
|
Layout generateLayout(Layout currentLayout, CorfuRuntime corfuRuntime, Set<String> failedNodes, Set<String> healedNodes)
currentLayout
- Latest instance of the layout.corfuRuntime
- A connected instance of the Corfu Runtime.failedNodes
- Set of failed nodes.healedNodes
- Set of healed nodes.Copyright © 2019 CorfuDB. All rights reserved.