public class ShuttlBucketEndpointHelper {
public static void shuttlBucket(String path, String index,
ShuttlProvider shuttlProvider, ConfigProvider configProvider,
BucketModifier bucketModifier, BucketLocker bucketLocker) {
BucketFactory bucketFactory = new BucketFactory();
ShuttlBucketEndpoint shuttlBucketEndpoint = new ShuttlBucketEndpoint(
shuttlProvider, configProvider, bucketModifier, bucketFactory,
bucketLocker);
shuttlBucketEndpoint.shuttlBucket(path, index);