public class Row extends Object implements MapWriter
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
static Map<String,org.apache.solr.client.solrj.cloud.autoscaling.Row.CacheEntry> |
cacheStats
Deprecated.
|
Map<String,Map<String,List<ReplicaInfo>>> |
collectionVsShardVsReplicas
Deprecated.
|
String |
node
Deprecated.
|
Constructor and Description |
---|
Row(String node,
Cell[] cells,
boolean anyValueMissing,
Map<String,Map<String,List<ReplicaInfo>>> collectionVsShardVsReplicas,
boolean isLive,
Policy.Session session,
Map perRowCache,
Map globalCache)
Deprecated.
|
Row(String node,
List<Pair<String,Variable.Type>> params,
List<String> perReplicaAttributes,
Policy.Session session)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Row |
addReplica(String coll,
String shard,
Replica.Type type)
Deprecated.
|
Row |
addReplica(String coll,
String shard,
Replica.Type type,
boolean strictMode)
Deprecated.
|
<R> R |
computeCacheIfAbsent(String cacheName,
Function<Object,R> supplier)
Deprecated.
|
<R> R |
computeCacheIfAbsent(String coll,
String shard,
String cacheName,
Object key,
Function<Object,R> supplier)
Deprecated.
|
void |
createCollShard(Pair<String,String> collShard)
Deprecated.
|
void |
forEachReplica(Consumer<ReplicaInfo> consumer)
Deprecated.
|
static void |
forEachReplica(Map<String,Map<String,List<ReplicaInfo>>> collectionVsShardVsReplicas,
Consumer<ReplicaInfo> consumer)
Deprecated.
|
void |
forEachReplica(String coll,
Consumer<ReplicaInfo> consumer)
Deprecated.
|
void |
forEachShard(String collection,
BiConsumer<String,List<ReplicaInfo>> consumer)
Deprecated.
|
Cell[] |
getCells()
Deprecated.
|
ReplicaInfo |
getReplica(String coll,
String shard,
Replica.Type type)
Deprecated.
|
Object |
getVal(String name,
Object def)
Deprecated.
|
boolean |
isLive()
Deprecated.
|
Row |
removeReplica(String coll,
String shard,
Replica.Type type)
Deprecated.
|
Row |
removeReplica(String coll,
String shard,
Replica.Type type,
int recursionCount)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
writeMap(MapWriter.EntryWriter ew)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
public final String node
public Map<String,Map<String,List<ReplicaInfo>>> collectionVsShardVsReplicas
public Row(String node, List<Pair<String,Variable.Type>> params, List<String> perReplicaAttributes, Policy.Session session)
public void forEachShard(String collection, BiConsumer<String,List<ReplicaInfo>> consumer)
public <R> R computeCacheIfAbsent(String cacheName, Function<Object,R> supplier)
public <R> R computeCacheIfAbsent(String coll, String shard, String cacheName, Object key, Function<Object,R> supplier)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
public Row addReplica(String coll, String shard, Replica.Type type)
public Row addReplica(String coll, String shard, Replica.Type type, boolean strictMode)
public ReplicaInfo getReplica(String coll, String shard, Replica.Type type)
public Row removeReplica(String coll, String shard, Replica.Type type)
public Row removeReplica(String coll, String shard, Replica.Type type, int recursionCount)
public Cell[] getCells()
public boolean isLive()
public void forEachReplica(Consumer<ReplicaInfo> consumer)
public void forEachReplica(String coll, Consumer<ReplicaInfo> consumer)
public static void forEachReplica(Map<String,Map<String,List<ReplicaInfo>>> collectionVsShardVsReplicas, Consumer<ReplicaInfo> consumer)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.