Returns the credential associated with this session.
Returns the credential associated with this session.
the credential associated with this session
Returns the period of time after which the session is expired.
Returns the period of time after which the session is expired.
This value is ultimately decided by ZooKeeper, and therefore, may not be equal to the timeout
specified in
Configuration.
the period of time after which the session is expired
A session established with ZooKeeper.
Note that a session, particularly the life cycle, is managed by ZooKeeper servers, not the client. Under normal circumstances in which the client explicitly disconnects from the ZooKeeper cluster, its session is automatically expired. However, in cases where the client does not properly disconnect, ZooKeeper retains the session for a period of time defined by
timeout
.