Class CollectionConfiguration
- java.lang.Object
-
- fr.gouv.vitam.common.model.config.CollectionConfiguration
-
public class CollectionConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CollectionConfiguration()
CollectionConfiguration(java.lang.Integer numberOfShards, java.lang.Integer numberOfReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getNumberOfReplicas()
java.lang.Integer
getNumberOfShards()
CollectionConfiguration
setNumberOfReplicas(java.lang.Integer numberOfReplicas)
CollectionConfiguration
setNumberOfShards(java.lang.Integer numberOfShards)
java.lang.String
toString()
-
-
-
Method Detail
-
getNumberOfShards
public java.lang.Integer getNumberOfShards()
-
setNumberOfShards
public CollectionConfiguration setNumberOfShards(java.lang.Integer numberOfShards)
-
getNumberOfReplicas
public java.lang.Integer getNumberOfReplicas()
-
setNumberOfReplicas
public CollectionConfiguration setNumberOfReplicas(java.lang.Integer numberOfReplicas)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-