protected static void resetAndEmptyBucket(Namespace namespace) throws InterruptedException, ExecutionException
{
ListKeysOperation.Builder keysOpBuilder = new ListKeysOperation.Builder(namespace);
ListKeysOperation keysOp = keysOpBuilder.build();
cluster.execute(keysOp);
List<BinaryValue> keyList = keysOp.get().getKeys();
final int totalKeys = keyList.size();
final Semaphore semaphore = new Semaphore(10);
final CountDownLatch latch = new CountDownLatch(1);
RiakFutureListener<Void, Location> listener = new RiakFutureListener<Void, Location>() {