{
Range<Token> range = new Range<>(partitioner.getMinimumToken(), partitioner.getRandomToken());
final RepairJobDesc desc = new RepairJobDesc(UUID.randomUUID(), UUID.randomUUID(), keyspace, columnFamily, range);
final SimpleCondition lock = new SimpleCondition();
SinkManager.add(new IMessageSink()
{
@SuppressWarnings("unchecked")
public MessageOut handleMessage(MessageOut message, int id, InetAddress to)
{
try