shuttlWithLocks(bucket, bucketLocks);
}
private void shuttlWithLocks(LocalBucket bucket, List<BucketLock> bucketLocks) {
try {
BucketShuttler bucketShuttler = createShuttler(bucket);
bucket = bucketModifier.modifyLocalBucket(bucket);
runShuttlerOnASeparateThread(bucket, bucketLocks, bucketShuttler);
} finally {
BucketLockCleaner.closeLocks(bucketLocks);