Package COM.activesw.api.client
Class BrokerChangeLockInfo
java.lang.Object
COM.activesw.api.client.BrokerChangeLockInfo
This class is a data structure used to describe the result of acquiring the broker change lock.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
True if the Broker Change Lock was acquired, false if not.The ID of the client that currently holds the Broker Change Lock, if the lock could not be acquired.The time at which the Broker Change Lock was acquired by a different client.int
The session id of the client that currently holds the Broker Change Lock, if the lock could not be acquired. -
Constructor Summary
ConstructorsConstructorDescriptionCreate a broker change lock information object.BrokerChangeLockInfo
(boolean new_acquired, String new_client_id, int new_session_id, BrokerDate new_lock_time) Create and initialize. -
Method Summary
-
Field Details
-
acquired
public boolean acquiredTrue if the Broker Change Lock was acquired, false if not. -
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_idThe session id of the client that currently holds the Broker Change Lock, if the lock could not be acquired. -
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.
-