Package com.gpudb.protocol
Class AdminHaRefreshRequest
java.lang.Object
com.gpudb.protocol.AdminHaRefreshRequest
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of parameters for
GPUdb.adminHaRefresh.
Restarts the HA processing on the given cluster as a mechanism of accepting breaking HA conf changes. Additionally the cluster is put into read-only while HA is restarting.
Constructor Summary
ConstructorsConstructorDescriptionConstructs an AdminHaRefreshRequest object with default parameters.AdminHaRefreshRequest(Map<String, String> options) Constructs an AdminHaRefreshRequest object with the specified parameters.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Optional parameters.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setOptions(Map<String, String> options) Optional parameters.toString()
Method Details
setOptions
Optional parameters. The default value is an emptyMap.Parameters:options- The new value foroptions.Returns:thisto mimic the builder pattern.