Class StaticReplication
- java.lang.Object
-
- uk.co.ractf.polaris.api.common.JsonRepresentable
-
- uk.co.ractf.polaris.api.deployment.Replication
-
- uk.co.ractf.polaris.api.deployment.StaticReplication
-
public class StaticReplication extends Replication
Represents aReplication
strategy that deploys a consistent number of replicas.{ "type": "static", "amount": 20 }
-
-
Constructor Summary
Constructors Constructor Description StaticReplication(java.lang.String type, java.lang.Integer amount)
Create a StaticReplication
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Integer
getAmount()
int
hashCode()
-
Methods inherited from class uk.co.ractf.polaris.api.deployment.Replication
getType
-
Methods inherited from class uk.co.ractf.polaris.api.common.JsonRepresentable
parse, toJsonString
-
-