Packages

c

org.apache.kyuubi.session

SessionManager

abstract class SessionManager extends CompositeService

The SessionManager holds the all the connected Sessions, provides us the APIs to open, set, get, close Sessions and cleans idled Sessions with a daemon checker thread.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SessionManager
  2. CompositeService
  3. AbstractService
  4. Logging
  5. Service
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SessionManager(name: String)

    name

    Service Name

Abstract Value Members

  1. abstract def isServer: Boolean
    Attributes
    protected
  2. abstract def openSession(protocol: TProtocolVersion, user: String, password: String, ipAddress: String, conf: Map[String, String]): SessionHandle
  3. abstract def operationManager: OperationManager

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var _operationLogRoot: Option[String]
    Attributes
    protected
  5. def addService(service: Service): Unit
    Attributes
    protected
    Definition Classes
    CompositeService
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def closeSession(sessionHandle: SessionHandle): Unit
  9. var conf: KyuubiConf
    Attributes
    protected
    Definition Classes
    AbstractService
  10. def debug(message: ⇒ Any): Unit
    Definition Classes
    Logging
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def error(message: ⇒ Any): Unit
    Definition Classes
    Logging
  14. def error(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def getActiveCount: Int
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getConf: KyuubiConf

    Get the configuration of this service.

    Get the configuration of this service. This is normally not a clone and may be manipulated, though there are no guarantees as to what the consequences of such actions may be

    returns

    the current configuration, unless a specific implementation chooses otherwise.

    Definition Classes
    AbstractServiceService
  19. def getExecPoolSize: Int
  20. def getName: String

    Get the name of this service.

    Get the name of this service.

    returns

    the service name

    Definition Classes
    AbstractServiceService
  21. def getOpenSessionCount: Int
  22. def getServiceState: ServiceState

    Get the current service state

    Get the current service state

    returns

    the state of the service

    Definition Classes
    AbstractServiceService
  23. def getServices: Seq[Service]
    Definition Classes
    CompositeService
  24. def getSession(sessionHandle: SessionHandle): Session
  25. def getSessionList(): ConcurrentHashMap[SessionHandle, Session]
  26. def getStartTime: Long

    Get the service start time

    Get the service start time

    returns

    the start time of the service. This will be zero if the service has not yet been started.

    Definition Classes
    AbstractServiceService
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def info(message: ⇒ Any): Unit
    Definition Classes
    Logging
  29. def initialize(conf: KyuubiConf): Unit

    Initialize the service.

    Initialize the service.

    The transition must be from LATENTto INITIALIZED unless the operation failed and an exception was raised.

    conf

    the configuration of the service

    Definition Classes
    SessionManagerCompositeServiceAbstractServiceService
  30. def initializeLoggerIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def latestLogoutTime: Long
  33. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  34. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def operationLogRoot: Option[String]
  39. final def setSession(sessionHandle: SessionHandle, session: Session): Unit
    Attributes
    protected
  40. def start(): Unit

    Start the service.

    Start the service.

    The transition should be from INITIALIZED to STARTED unless the operation failed and an exception was raised.

    Definition Classes
    SessionManagerCompositeServiceAbstractServiceService
  41. var startTime: Long
    Attributes
    protected
    Definition Classes
    AbstractService
  42. var state: ServiceState
    Attributes
    protected
    Definition Classes
    AbstractService
  43. def stop(): Unit

    Stop the service.

    Stop the service.

    This operation must be designed to complete regardless of the initial state of the service, including the state of all its internal fields.

    Definition Classes
    SessionManagerCompositeServiceAbstractServiceService
  44. def submitBackgroundOperation(r: Runnable): Future[_]
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. def validateAndNormalizeConf(config: Map[String, String]): Map[String, String]
  48. def validateKey(key: String, value: String): Option[(String, String)]
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. def warn(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  53. def warn(message: ⇒ Any): Unit
    Definition Classes
    Logging

Inherited from CompositeService

Inherited from AbstractService

Inherited from Logging

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped