Uses of Enum Class
org.apache.solr.common.cloud.Replica.Type
Packages that use Replica.Type
Package
Description
Convenience classes for dealing with various types of Solr requests.
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
-
Uses of Replica.Type in org.apache.solr.client.solrj.request
Fields in org.apache.solr.client.solrj.request declared as Replica.TypeMethods in org.apache.solr.client.solrj.request with parameters of type Replica.TypeModifier and TypeMethodDescriptionCollectionAdminRequest.addReplicaToShard(String collection, String shard, Replica.Type replicaType) Returns a SolrRequest to add a replica of the specified type to a shard in a collection.intCollectionAdminRequest.AddReplica.getNumReplicas(Replica.Type type) CollectionAdminRequest.Create.getNumReplicas(Replica.Type type) intCollectionAdminRequest.Restore.getNumReplicas(Replica.Type type) CollectionAdminRequest.AddReplica.setNumReplicas(Replica.Type type, Integer count) CollectionAdminRequest.Create.setNumReplicas(Replica.Type type, Integer count) CollectionAdminRequest.Restore.setNumReplicas(Replica.Type type, Integer count) CollectionAdminRequest.AddReplica.setType(Replica.Type type) -
Uses of Replica.Type in org.apache.solr.common.cloud
Fields in org.apache.solr.common.cloud declared as Replica.TypeModifier and TypeFieldDescriptionfinal Replica.TypeReplica.typefinal Replica.TypeReplicaPosition.typeMethods in org.apache.solr.common.cloud that return Replica.TypeModifier and TypeMethodDescriptionstatic Replica.TypeReplica.Type.defaultType()Returns a default replica type.static Replica.TypeReplicaCount.getLeaderType()Returns the first non-zero replica type that can be a leader.Replica.getType()static Replica.TypeReturns the enum constant of this class with the specified name.static Replica.Type[]Replica.Type.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.solr.common.cloud that return types with arguments of type Replica.TypeModifier and TypeMethodDescriptionReplicaCount.keySet()Returns the replica types for which a number of replicas was explicitly defined.Methods in org.apache.solr.common.cloud with parameters of type Replica.TypeModifier and TypeMethodDescriptionbooleanReplicaCount.contains(Replica.Type type) Returns whether the number of replicas for a given type was explicitly defined.voidReplicaCount.decrement(Replica.Type type) Decrement the number of replicas for a given type.intReplicaCount.get(Replica.Type type) Returns the number of replicas for a given type.intDocCollection.getNumReplicas(Replica.Type type) voidReplicaCount.increment(Replica.Type type) Increment the number of replicas for a given type.static ReplicaCountReplicaCount.of(Replica.Type type, Integer count) voidReplicaCount.put(Replica.Type type, Integer count) Defines the number of replicas for a given type.Method parameters in org.apache.solr.common.cloud with type arguments of type Replica.TypeModifier and TypeMethodDescriptionSlice.getReplicas(EnumSet<Replica.Type> s) Gets the list of replicas that have a type present in sConstructors in org.apache.solr.common.cloud with parameters of type Replica.TypeModifierConstructorDescriptionReplica(String name, String node, String collection, String shard, String core, Replica.State state, Replica.Type type, Map<String, Object> props) ReplicaPosition(String collection, String shard, int replicaIdx, Replica.Type type) ReplicaPosition(String collection, String shard, int replicaIdx, Replica.Type type, String node)