Session

com.loopfor.zookeeper.Session
See theSession companion object
trait Session

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.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

Returns the credential associated with this session.

Returns the credential associated with this session.

Attributes

Returns:

the credential associated with this session

Returns the current state of this session.

Returns the current state of this session.

Attributes

Returns:

the current state of 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.

Attributes

Returns:

the period of time after which the session is expired