Package com.atlassian.bitbucket.concurrent
package com.atlassian.bitbucket.concurrent
-
ClassDescriptionBucketedExecutor<T extends Serializable>Executor that groups submitted tasks in 'buckets' and asynchronously processes these buckets of tasks on worker threads.BucketedExecutorSettings<T extends Serializable>Configuration object used for
constructing
BucketedExecutor
instances.BucketedExecutorSettings.Builder<T extends Serializable>Builder forBucketedExecutorSettings
BucketProcessor<T extends Serializable>BucketedExecutor
processor that's called when a bucket of tasks is ready for processing.Policy for concurrency limitsProvides various types of locks, all of which are safe to use in a cluster.A reusable component for locking apull request
while anoperation
is performed.A reusable component for locking arepository
while anoperation
is performed.