abstract class Serverable extends CompositeService
A Serverable is an abstraction for concreting kyuubi server and engines It contains
- one AbstractBackendService to do the actual operations or interacting with the downstream services
- [1, n] AbstractFrontendServices as a list to handle different requests from the upstream callers, e.g. JDBC clients.
- Alphabetic
- By Inheritance
- Serverable
- CompositeService
- AbstractService
- Logging
- Service
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Serverable(name: String)
- name
the server name
Abstract Value Members
- abstract val backendService: AbstractBackendService
- abstract val frontendServices: Seq[AbstractFrontendService]
-
abstract
def
stopServer(): Unit
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addService(service: Service): Unit
- Attributes
- protected
- Definition Classes
- CompositeService
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
var
conf: KyuubiConf
- Attributes
- protected
- Definition Classes
- AbstractService
-
def
debug(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
debug(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
def
error(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- AbstractService → Service
-
def
getName: String
Get the name of this service.
-
def
getServiceState: ServiceState
Get the current service state
Get the current service state
- returns
the state of the service
- Definition Classes
- AbstractService → Service
-
def
getServices: Seq[Service]
- Definition Classes
- CompositeService
-
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
- AbstractService → Service
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
info(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
info(message: ⇒ Any): Unit
- Definition Classes
- Logging
-
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
- Serverable → CompositeService → AbstractService → Service
-
def
initializeLoggerIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- Serverable → CompositeService → AbstractService → Service
-
var
startTime: Long
- Attributes
- protected
- Definition Classes
- AbstractService
-
var
state: ServiceState
- Attributes
- protected
- Definition Classes
- AbstractService
-
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
- Serverable → CompositeService → AbstractService → Service
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
warn(message: ⇒ Any, t: Throwable): Unit
- Definition Classes
- Logging
-
def
warn(message: ⇒ Any): Unit
- Definition Classes
- Logging