aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/LockedStep.java
blob: 8147ccb3180339f5dc844e3e27400683e839cef7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.deployment;

import com.yahoo.transaction.Mutex;
import com.yahoo.vespa.curator.Lock;

/**
 * @author jonmv
 */
public class LockedStep {

    private final Step step;
    LockedStep(Mutex lock, Step step) { this.step = step; }
    public Step get() { return step; }

}