public final enum

ConcurrencyPolicy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.concurrent.ConcurrencyPolicy

Class Overview

Policy for concurrency limits

Summary

Enum Values
ConcurrencyPolicy  PER_CLUSTER  Denotes that concurrency limits apply at the cluster level. 
ConcurrencyPolicy  PER_NODE  Denotes that concurrency limits apply at the node level. 
Public Methods
static ConcurrencyPolicy valueOf(String name)
final static ConcurrencyPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ConcurrencyPolicy PER_CLUSTER

Denotes that concurrency limits apply at the cluster level. A concurrency limit of 2 PER_CLUSTER means that up to 2 processes can be executed concurrently across the cluster.

public static final ConcurrencyPolicy PER_NODE

Denotes that concurrency limits apply at the node level. A concurrency limit of 2 PER_NODE means that up to 2 processes can be executed concurrently on _each_ node in the cluster.

Public Methods

public static ConcurrencyPolicy valueOf (String name)

public static final ConcurrencyPolicy[] values ()