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 createSession(protocol: TProtocolVersion, user: String, password: String, ipAddress: String, conf: Map[String, String]): Session
    Attributes
    protected
  2. abstract def isServer: Boolean
    Attributes
    protected
  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. def allSessions(): Iterable[Session]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def closeSession(sessionHandle: SessionHandle): Unit
  10. var conf: KyuubiConf
    Attributes
    protected
    Definition Classes
    AbstractService
  11. def debug(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  12. def debug(message: ⇒ Any): Unit
    Definition Classes
    Logging
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def error(message: ⇒ Any): Unit
    Definition Classes
    Logging
  16. def error(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def getActiveCount: Int
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. 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
  21. def getExecPoolSize: Int
  22. def getName: String

    Get the name of this service.

    Get the name of this service.

    returns

    the service name

    Definition Classes
    AbstractServiceService
  23. def getOpenSessionCount: Int
  24. def getServiceState: ServiceState

    Get the current service state

    Get the current service state

    returns

    the state of the service

    Definition Classes
    AbstractServiceService
  25. def getServices: Seq[Service]
    Definition Classes
    CompositeService
  26. def getSession(sessionHandle: SessionHandle): Session
  27. def getSessionOption(sessionHandle: SessionHandle): Option[Session]
  28. 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
  29. def getWorkQueueSize: Int
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def info(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  32. def info(message: ⇒ Any): Unit
    Definition Classes
    Logging
  33. 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
  34. def initializeLoggerIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. def latestLogoutTime: Long
  37. def logSessionCountInfo(session: Session, action: String): Unit
    Attributes
    protected
  38. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  39. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. def openSession(protocol: TProtocolVersion, user: String, password: String, ipAddress: String, conf: Map[String, String]): SessionHandle
  44. def operationLogRoot: Option[String]
  45. final def setSession(sessionHandle: SessionHandle, session: Session): Unit
    Attributes
    protected
  46. 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
  47. var startTime: Long
    Attributes
    protected
    Definition Classes
    AbstractService
  48. var state: ServiceState
    Attributes
    protected
    Definition Classes
    AbstractService
  49. 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
  50. def submitBackgroundOperation(r: Runnable): Future[_]
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. def validateAndNormalizeConf(config: Map[String, String]): Map[String, String]
  54. def validateBatchConf(config: Map[String, String]): Map[String, String]
  55. def validateBatchKey(key: String, value: String): Option[(String, String)]
  56. def validateKey(key: String, value: String): Option[(String, String)]
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  60. def warn(message: ⇒ Any, t: Throwable): Unit
    Definition Classes
    Logging
  61. 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