public class BootstrapUtil extends Object
Created by zlokhandwala on 1/19/18.
Modifier and Type | Method and Description |
---|---|
static void |
bootstrap(Layout layout,
CorfuRuntime.CorfuRuntimeParameters corfuRuntimeParameters,
int retries,
Duration retryDuration)
Bootstraps the given layout.
|
static void |
bootstrap(Layout layout,
int retries,
Duration retryDuration)
Bootstraps the given layout.
|
public static void bootstrap(@NonNull Layout layout, int retries, @NonNull Duration retryDuration)
layout
- Layout to bootstrap the cluster.retries
- Number of retries to bootstrap each node before giving up.retryDuration
- Duration between retries.public static void bootstrap(@NonNull Layout layout, @NonNull CorfuRuntime.CorfuRuntimeParameters corfuRuntimeParameters, int retries, @NonNull Duration retryDuration)
layout
- Layout to bootstrap the cluster.corfuRuntimeParameters
- CorfuRuntimeParameters can specify security parameters.retries
- Number of retries to bootstrap each node before giving up.retryDuration
- Duration between retries.Copyright © 2019 CorfuDB. All rights reserved.