Skip to content

StandaloneAppClientListener

StandaloneAppClientListener is an abstraction of listeners.

Contract

connected

connected(
  appId: String): Unit

Used when:

dead

dead(
  reason: String): Unit

Used when:

  • ClientEndpoint is requested to markDead

disconnected

disconnected(): Unit

Used when:

executorAdded

executorAdded(
  fullId: String,
  workerId: String,
  hostPort: String,
  cores: Int,
  memory: Int): Unit

Used when:

executorDecommissioned

executorDecommissioned(
  fullId: String,
  decommissionInfo: ExecutorDecommissionInfo): Unit

Used when:

executorRemoved

executorRemoved(
  fullId: String,
  message: String,
  exitStatus: Option[Int],
  workerHost: Option[String]): Unit

Used when:

workerRemoved

workerRemoved(
  workerId: String,
  host: String,
  message: String): Unit

Used when:

Implementations


Last update: 2021-07-18
Back to top