LifecycleJoinAttempt
class LifecycleJoinAttempt(mounts: Option[Long], attempts: Option[Long])Client-reported Phoenix join counters.
The standard Phoenix LiveView client starts mounts at zero and increments it after every
successful join. It resets attempts after success. These values are untrusted diagnostics and
must never be used for authorization.
Parameters
mountsThe client's
_mountscounter, orNonewhen it is missing, malformed, or negative.attemptsThe client's
_mount_attemptscounter, orNonewhen it is missing, malformed, or negative.
Defined by scalive.LifecycleJoinAttempt. View source (scalive/api/src/scalive/LifecycleObserver.scala:89-96)
Methods2
isReconnect
def isReconnect: BooleanReturns true when mounts is positive, meaning the client reports an earlier join.
Defined by scalive.LifecycleJoinAttempt.isReconnect. View source (scalive/api/src/scalive/LifecycleObserver.scala:93-93)
isRetry
def isRetry: BooleanReturns true when attempts is positive, meaning the client reports a retried join.
Defined by scalive.LifecycleJoinAttempt.isRetry. View source (scalive/api/src/scalive/LifecycleObserver.scala:96-96)
Values2
attempts
val attempts: Option[Long]The client's _mount_attempts counter, or None when it is missing, malformed, or negative.
Defined by scalive.LifecycleJoinAttempt.attempts. View source (scalive/api/src/scalive/LifecycleObserver.scala:91-91)
mounts
val mounts: Option[Long]The client's _mounts counter, or None when it is missing, malformed, or negative.
Defined by scalive.LifecycleJoinAttempt.mounts. View source (scalive/api/src/scalive/LifecycleObserver.scala:90-90)