public MachineType getMachineType ( ) { long value = get ( MACHINE ) ; try { return MachineType . getForValue ( value ) ; } catch ( IllegalArgumentException e ) { logger . error ( "Unable to resolve machine type for value: " + value ) ; return MachineType . UNKNOWN ; } }
Returns the enum that denotes the machine type .