| 程序包 | 说明 |
|---|---|
| org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DocCollection
Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")
|
class |
Replica |
class |
RoutingRule
Used for routing docs with particular keys into another collection
|
class |
Slice
A Slice contains immutable information about a logical shard (all replicas that share the same shard id).
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ZkNodeProps |
ZkNodeProps.fromKeyVals(Object... keyVals) |
ZkNodeProps |
ZkCoreNodeProps.getNodeProps() |
static ZkNodeProps |
ZkNodeProps.load(byte[] bytes)
Create Replica from json string that is typically stored in zookeeper.
|
ZkNodeProps |
ZkNodeProps.plus(Map<String,Object> newVals) |
ZkNodeProps |
ZkNodeProps.plus(String key,
Object val) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
ZkCoreNodeProps.getCoreUrl(ZkNodeProps nodeProps) |
static Map<String,Object> |
DocRouter.getRouterSpec(ZkNodeProps props) |
| 构造器和说明 |
|---|
ZkCoreNodeProps(ZkNodeProps nodeProps) |
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.