aboutsummaryrefslogtreecommitdiffstats
path: root/orchestrator/src/test/java/com/yahoo/vespa/orchestrator/DummyAntiServiceMonitor.java
blob: 3dcdfd916b28ba3b77a5e05d69d2443d1480fed6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.orchestrator;

import com.yahoo.vespa.service.monitor.AntiServiceMonitor;
import com.yahoo.vespa.service.monitor.CriticalRegion;

/**
 * @author hakonhall
 */
public class DummyAntiServiceMonitor implements AntiServiceMonitor {
    @Override
    public CriticalRegion disallowDuperModelLockAcquisition(String regionDescription) {
        return () -> {};
    }
}