Class MasterStateStore

java.lang.Object
org.apache.hadoop.hbase.master.MasterStateStore
Direct Known Subclasses:
BooleanStateStore

@Private public abstract class MasterStateStore extends Object
A state storage which stores the state in master local region.

We used to store some persistent state on zookeeper, so here we provide the ability to migrate the state from zookeeper.

Since parsing the state may introduce some extra overhead, we make this class abstract and the get and set state methods protected. Sub classes should store their state in decoded format to save the extra parsing overhead.