public class SQLInternalServiceProvider extends Service implements InternalServiceProvider, PropertySupplierAware
Service.Election, Service.ElectionListenerActivity.ServiceState| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
SQLInternalServiceProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected DataSourceFactory |
createDataSourceFactory() |
protected SQLOperator |
createSQLOperator(SQLConfig config) |
protected void |
doStart() |
protected void |
doStop() |
<T> T |
getService(Class<T> service) |
void |
setSupplier(PropertySupplier propertySupplier) |
String |
type() |
protected void |
validate() |
getServiceState, isReady, isStarted, isStopped, start, stop, stop, willStopafterStart, afterStop, await, beforeStart, beforeStop, convert, getReadLock, getWriteLock, startErrorpublic void setSupplier(PropertySupplier propertySupplier)
setSupplier 在接口中 PropertySupplierAwareprotected SQLOperator createSQLOperator(SQLConfig config)
protected DataSourceFactory createDataSourceFactory()
public <T> T getService(Class<T> service)
getService 在接口中 InternalServiceProviderCopyright © 2020 Joyqueue Community. All rights reserved.