Class BrokerChangeLockInfo

java.lang.Object
COM.activesw.api.client.BrokerChangeLockInfo

public class BrokerChangeLockInfo extends Object
This class is a data structure used to describe the result of acquiring the broker change lock.
  • Field Details

    • acquired

      public boolean acquired
      True if the Broker Change Lock was acquired, false if not.
    • client_id

      public String client_id
      The ID of the client that currently holds the Broker Change Lock, if the lock could not be acquired.
    • session_id

      public int session_id
      The session id of the client that currently holds the Broker Change Lock, if the lock could not be acquired.
    • lock_time

      public BrokerDate lock_time
      The time at which the Broker Change Lock was acquired by a different client.
  • Constructor Details

    • BrokerChangeLockInfo

      public BrokerChangeLockInfo()
      Create a broker change lock information object.
    • BrokerChangeLockInfo

      public BrokerChangeLockInfo(boolean new_acquired, String new_client_id, int new_session_id, BrokerDate new_lock_time)
      Create and initialize.