blob: 68fcbcc49836d94bbba014c75ad3ace7baff49aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.zookeeper;
import java.nio.file.Path;
/**
* Interface for a component that starts/stops a ZooKeeper server.
*
* @author hmusum
*/
public interface VespaZooKeeperServer {
/** Shut down the server. Blocks until shutdown has completed */
void shutdown();
/** Start the server with the given config file */
void start(Path configFilePath);
/** Whether this server support dynamic reconfiguration */
boolean reconfigurable();
}
|