summaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/status/statuspage/StatusPageServerInterface.java
blob: a06d069c59db62d1a4f333495084a84d9d268749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core.status.statuspage;

public interface StatusPageServerInterface {

    int getPort();
    void shutdown() throws InterruptedException, java.io.IOException;
    void setPort(int port) throws java.io.IOException, InterruptedException;
    StatusPageServer.HttpRequest getCurrentHttpRequest();
    void answerCurrentStatusRequest(StatusPageResponse r);

}