public State get() {
      return this.ref.get();
    }
Wrapper class around State enum to make its operations atomic.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsRebuildLockHandler.java