nirvana.support.services

NirvanaUtils

object NirvanaUtils extends LoggerSupport with NetworkUtilsSupport

nirvana utils

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NirvanaUtils
  2. NetworkUtilsSupport
  3. LoggerSupport
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class PortStatus extends AnyRef

    Definition Classes
    NetworkUtilsSupport

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object PortAvailable extends (NetworkUtilsSupport.this)#PortStatus with Product with Serializable

    Definition Classes
    NetworkUtilsSupport
  5. object PortUnavailable extends (NetworkUtilsSupport.this)#PortStatus with Product with Serializable

    Definition Classes
    NetworkUtilsSupport
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def availablePort(prefered: Int): PortStatus

    Check whether the port is available to binding

    Check whether the port is available to binding

    prefered
    returns

    -1 means not available, others means available

    Definition Classes
    NetworkUtilsSupport
  8. def bitXor(a: Long, b: Long): Long

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def currentTimeInSecs: Int

  11. def deserialize(serialized: Array[Byte], loader: ClassLoader): AnyRef

  12. def deserialize(serialized: Array[Byte]): AnyRef

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def getAvailablePort: PortStatus

    get one available port

    get one available port

    Definition Classes
    NetworkUtilsSupport
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def host2Ip(host: String): String

    Definition Classes
    NetworkUtilsSupport
  20. def hostname: Option[String]

    Definition Classes
    NetworkUtilsSupport
  21. def ip: Option[String]

    Definition Classes
    NetworkUtilsSupport
  22. def ip2Host(ip: String): String

    Definition Classes
    NetworkUtilsSupport
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isLessThan(a: Array[Byte], b: Array[Byte]): Boolean

  25. val logger: Logger

    Attributes
    protected
    Definition Classes
    LoggerSupport
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def parseBind(bind: String): (String, Int)

  30. def secureRandomLong: Long

  31. def serialize(obj: AnyRef): Array[Byte]

  32. def shutdownExecutor(executor: ExecutorService, executorName: String): Unit

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. def tryPort(port: Int): PortStatus

    Check whether the port is available to binding

    Check whether the port is available to binding

    port

    Definition Classes
    NetworkUtilsSupport
  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NetworkUtilsSupport

Inherited from LoggerSupport

Inherited from AnyRef

Inherited from Any

Ungrouped