Add the RepairParallelism enum

This takes the RepairParallelism enum from origin

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
This commit is contained in:
Amnon Heiman 2015-08-13 09:52:06 +03:00
parent 6fc2c5c720
commit e96e62b6bd
1 changed files with 14 additions and 1 deletions

View File

@ -22,6 +22,19 @@
*/
package org.apache.cassandra.repair;
public class RepairParallelism {
public enum RepairParallelism {
/**
* One node at a time
*/
SEQUENTIAL,
/**
* All nodes at the same time
*/
PARALLEL,
/**
* One node per data center at a time
*/
DATACENTER_AWARE
}