Jwang add resource measurements

Why not just make these e.g. `FTMODE.REJOIN` instead of `FTMODE.valueOf("rejoin")`? Why indirect through `valueOf`?