public interface

ConcurrencyService

com.atlassian.bitbucket.concurrent.ConcurrencyService

Summary

Public Methods
@Nonnull <T extends Serializable> BucketedExecutor<T> getBucketedExecutor(String name, BucketedExecutorSettings<T> settings)
Retrieves a BucketedExecutor by name, or creates a new one if it does not already exists.

Public Methods

@Nonnull public BucketedExecutor<T> getBucketedExecutor (String name, BucketedExecutorSettings<T> settings)

Retrieves a BucketedExecutor by name, or creates a new one if it does not already exists.

Parameters
name the executor name
settings configuration for the executor
Returns
  • the executor, or null if it hasn't been created yet.