public interface DataSourceSelector
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the DataSourceSelector, maybe interrupt the Thread.
|
DataSource |
get()
Return a DataSource according to the implemention.
|
String |
getName()
Return the name of this DataSourceSelector.
|
void |
init()
Init the DataSourceSelector before use it.
|
void |
setTarget(String name)
Set the target DataSource name to return.
|
DataSource get()
void setTarget(String name)
String getName()
void init()
void destroy()
Copyright © 2013–2021 Alibaba Group. All rights reserved.