summaryrefslogtreecommitdiffstats
path: root/zookeeper-server/zookeeper-server-common/src/main/java/com/yahoo/vespa/zookeeper/DummyVespaZooKeeperServer.java
blob: 88968cc0de90cf9395e3bfb2c9156ca8839c34f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.zookeeper;

import com.google.inject.Inject;
import com.yahoo.component.AbstractComponent;

import java.nio.file.Path;

/**
 * A dummy {@link VespaZooKeeperServer} implementation that can be used when a container cluster is not configured with standalone ZK cluster.
 *
 * @author bjorncs
 */
public class DummyVespaZooKeeperServer extends AbstractComponent implements VespaZooKeeperServer {

    @Inject public DummyVespaZooKeeperServer() {}

    @Override
    public void start(Path path) {}

}