package com.atlassian.stash.internal.concurrent;

import com.atlassian.bitbucket.concurrent.LockService;

import javax.annotation.Nonnull;

/**
 * Extends {@link LockService} with functionality that's not going to be available to plugins.
 *
 * @since 3.8
 */
public interface InternalLockService extends LockService {

    /**
     * Creates a {@link BootstrapLock}
     *
     * @return the bootstrap lock
     */
    @Nonnull
    BootstrapLock getBootstrapLock();
}
