Package | Description |
---|---|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
Modifier and Type | Field and Description |
---|---|
static Aliases |
Aliases.EMPTY
An empty, minimal Aliases primarily used to support the non-cloud solr use cases.
|
Modifier and Type | Method and Description |
---|---|
Aliases |
Aliases.cloneWithCollectionAlias(String alias,
String collections)
Creates a new Aliases instance with the same data as the current one but with a modification based on the
parameters.
|
Aliases |
Aliases.cloneWithCollectionAliasMetadata(String alias,
String metadataKey,
String metadataValue)
Set the value for some metadata on a collection alias.
|
static Aliases |
Aliases.fromJSON(byte[] bytes,
int zNodeVersion)
Create an instance from the JSON bytes read from zookeeper.
|
Aliases |
ZkStateReader.getAliases()
Get an immutable copy of the present state of the aliases.
|
Aliases |
ZkStateReader.AliasesManager.getAliases() |
Modifier and Type | Method and Description |
---|---|
void |
ZkStateReader.AliasesManager.applyModificationAndExportToZk(UnaryOperator<Aliases> op)
Writes an updated
Aliases to zk. |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.