Package org.apache.hadoop.hbase.wal
Class NamespaceGroupingStrategy
java.lang.Object
org.apache.hadoop.hbase.wal.NamespaceGroupingStrategy
- All Implemented Interfaces:
RegionGroupingProvider.RegionGroupingStrategy
@Private
public class NamespaceGroupingStrategy
extends Object
implements RegionGroupingProvider.RegionGroupingStrategy
A WAL grouping strategy based on namespace. Notice: the wal-group mapping might change if we
support dynamic namespace updating later, and special attention needed if we support feature like
group-based replication.
-
Field Summary
Fields inherited from interface org.apache.hadoop.hbase.wal.RegionGroupingProvider.RegionGroupingStrategy
GROUP_NAME_DELIMITER
-
Constructor Summary
-
Method Summary
-
Field Details
-
providerId
-
-
Constructor Details
-
NamespaceGroupingStrategy
public NamespaceGroupingStrategy()
-
-
Method Details
-
group
Description copied from interface:RegionGroupingProvider.RegionGroupingStrategy
Given an identifier and a namespace, pick a group.- Specified by:
group
in interfaceRegionGroupingProvider.RegionGroupingStrategy
-
init
- Specified by:
init
in interfaceRegionGroupingProvider.RegionGroupingStrategy
-