Class ReplicationConfigurationUtil
- java.lang.Object
-
- org.apache.accumulo.core.replication.ReplicationConfigurationUtil
-
public class ReplicationConfigurationUtil extends Object
Encapsulates configuration semantics around replication
-
-
Constructor Summary
Constructors Constructor Description ReplicationConfigurationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisEnabled(KeyExtent extent, AccumuloConfiguration conf)Determines if the replication is enabled for the givenKeyExtent
-
-
-
Method Detail
-
isEnabled
public static boolean isEnabled(KeyExtent extent, AccumuloConfiguration conf)
Determines if the replication is enabled for the givenKeyExtent- Parameters:
extent- TheKeyExtentfor the Tablet in questionconf- TheAccumuloConfigurationfor that Tablet (table or namespace)- Returns:
- True if this extent is a candidate for replication at the given point in time.
-
-