com.h3c.util.persistence.cassandra.entitymgr.wal

## Class AppIdGenerator

- java.lang.Object
- - com.h3c.util.persistence.cassandra.entitymgr.wal.AppIdGenerator

-     public class AppIdGenerator
      extends Object

  This Singleton Utility generates the MAC address of host. Generated MAC address of the system will be used as host's unique application id.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `appId`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getHostMac()` Get MAC address of the host system.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### appId

          public static final String appId

  - ### Method Detail

    - #### getHostMac

          public String getHostMac()

      Get MAC address of the host system.
      Returns:
        MAC address as String object

Copyright © 2014. All Rights Reserved.