| Package | Description |
|---|---|
| org.pinus4j.cluster |
数据库集群实现.
|
| org.pinus4j.cluster.beans |
表示数据库信息的JavaBean.
|
| org.pinus4j.cluster.impl |
数据库集群的实现.
|
| org.pinus4j.cluster.router |
数据库集群的分库分表路由算法接口.
|
| org.pinus4j.cluster.router.impl |
路由算法实现.
|
| Modifier and Type | Method and Description |
|---|---|
IClusterRouter |
IDBCluster.getDBRouter(String clusterName)
get cluster router.
|
| Modifier and Type | Field and Description |
|---|---|
private Class<IClusterRouter> |
DBClusterInfo.routerClass
class of cluster router.
|
| Modifier and Type | Method and Description |
|---|---|
Class<IClusterRouter> |
DBClusterInfo.getRouterClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
DBClusterInfo.setRouterClass(Class<IClusterRouter> clazz) |
| Modifier and Type | Field and Description |
|---|---|
private IContainer<IClusterRouter> |
AbstractDBCluster.dbRouterC
cluster router.
|
| Modifier and Type | Method and Description |
|---|---|
IClusterRouter |
AbstractDBCluster.getDBRouter(String clusterName) |
| Modifier and Type | Method and Description |
|---|---|
IClusterRouter |
IClusterRouterBuilder.build(String clusterName)
build router instance by give cluster name.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractClusterRouter
抽象的数据库集群路由实现.
|
class |
SimpleHashClusterRouter
default simple hash algo router implements.
|
| Modifier and Type | Method and Description |
|---|---|
IClusterRouter |
DefaultClusterRouterBuilder.build(String clusterName) |
Copyright © 2015. All rights reserved.