Annotation Interface KeepAlive


public @interface KeepAlive
Represents keep-alive settings
  • 任意要素の概要

    任意要素
    修飾子とタイプ
    任意要素
    説明
    long
    A session keep-alive interval in milliseconds.
    long
    A ping interval in milliseconds.
    long
    A timeout limit of keep-alive request in milliseconds.
  • 要素の詳細

    • timeout

      long timeout
      A timeout limit of keep-alive request in milliseconds.
      戻り値:
      timeout limit of keep-alive request in milliseconds
      デフォルト:
      5000L
    • interval

      long interval
      A session keep-alive interval in milliseconds. If the interval is negative, set to the half of WCardinalConfiguration#getMaximumIdleTime().
      戻り値:
      keep-alive interval in milliseconds
      関連項目:
      デフォルト:
      240000L
    • ping

      long ping
      A ping interval in milliseconds. If the interval is negative, set to the half of WCardinalConfiguration#getMaximumIdleTime().
      戻り値:
      ping interval in milliseconds
      関連項目:
      デフォルト:
      -1L