Class BrokerChangeLockInfo


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

      Fields 
      Modifier and Type Field Description
      boolean acquired
      True if the Broker Change Lock was acquired, false if not.
      java.lang.String client_id
      The ID of the client that currently holds the Broker Change Lock, if the lock could not be acquired.
      BrokerDate lock_time
      The time at which the Broker Change Lock was acquired by a different client.
      int session_id
      The session id of the client that currently holds the Broker Change Lock, if the lock could not be acquired.
    • Constructor Summary

      Constructors 
      Constructor Description
      BrokerChangeLockInfo()
      Create a broker change lock information object.
      BrokerChangeLockInfo​(boolean new_acquired, java.lang.String new_client_id, int new_session_id, BrokerDate new_lock_time)
      Create and initialize.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • acquired

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

        public java.lang.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 Detail

      • BrokerChangeLockInfo

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

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