Klasse AdminShutdown
java.lang.Object
io.github.primelib.webmethodsapigateway4j.models.AdminShutdown
AdminShutdown
This contains parameters for APIGateway shutdown resource.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected BooleanSpecifies whether to restart API Gateway server after shutdown.protected StringSpecifies whether to shutdown API Gateway server immediately or after all client sessions are ended.protected BooleanA value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server.protected IntegerSpecifies the maximum wait time in minutes before API Gateway server is shutdown when option drain is specified. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedAdminShutdown(Boolean bounce, String option, Boolean quiesce, Integer timeout) Constructs a validated instance ofAdminShutdown.AdminShutdown(Consumer<AdminShutdown> spec) Constructs a validated instance ofAdminShutdown. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbounce()Specifies whether to restart API Gateway server after shutdown.Specifies whether to restart API Gateway server after shutdown.protected booleanbooleaninthashCode()option()Specifies whether to shutdown API Gateway server immediately or after all client sessions are ended.Specifies whether to shutdown API Gateway server immediately or after all client sessions are ended.quiesce()A value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server.A value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server.timeout()Specifies the maximum wait time in minutes before API Gateway server is shutdown when option drain is specified.Specifies the maximum wait time in minutes before API Gateway server is shutdown when option drain is specified.toString()
-
Felddetails
-
bounce
Specifies whether to restart API Gateway server after shutdown. A value of true would restart the server. Default value is false. -
option
Specifies whether to shutdown API Gateway server immediately or after all client sessions are ended. A value of 'force' would shutdown the server immediately and 'drain' would wait for a maximum period of time for all the client sessions to end before shutdown. -
quiesce
A value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server. Next, when API Gateway is restarted either manually or using bounce parameter, the Integration server will be started in Quiesce mode. Note: In a cluster, the flushing of in memory data would happen only on one of the nodes and hence on other nodes the API call would return immediately by eliminating the flush time. The default value is false. -
timeout
Specifies the maximum wait time in minutes before API Gateway server is shutdown when option drain is specified.
-
-
Konstruktordetails
-
AdminShutdown
Constructs a validated instance ofAdminShutdown.- Parameter:
spec- the specification to process
-
AdminShutdown
Constructs a validated instance ofAdminShutdown.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
AdminShutdown(Consumer)instead.- Parameter:
bounce- Specifies whether to restart API Gateway server after shutdown. A value of true would restart the server. Default value is false.option- Specifies whether to shutdown API Gateway server immediately or after all client sessions are ended. A value of 'force' would shutdown the server immediately and 'drain' would wait for a maximum period of time for all the client sessions to end before shutdown.quiesce- A value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server. Next, when API Gateway is restarted either manually or using bounce parameter, the Integration server will be started in Quiesce mode. Note: In a cluster, the flushing of in memory data would happen only on one of the nodes and hence on other nodes the API call would return immediately by eliminating the flush time. The default value is false.timeout- Specifies the maximum wait time in minutes before API Gateway server is shutdown when option drain is specified.
-
AdminShutdown
protected AdminShutdown()
-
-
Methodendetails
-
bounce
Specifies whether to restart API Gateway server after shutdown. A value of true would restart the server. Default value is false. -
option
Specifies whether to shutdown API Gateway server immediately or after all client sessions are ended. A value of 'force' would shutdown the server immediately and 'drain' would wait for a maximum period of time for all the client sessions to end before shutdown. -
quiesce
A value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server. Next, when API Gateway is restarted either manually or using bounce parameter, the Integration server will be started in Quiesce mode. Note: In a cluster, the flushing of in memory data would happen only on one of the nodes and hence on other nodes the API call would return immediately by eliminating the flush time. The default value is false. -
timeout
Specifies the maximum wait time in minutes before API Gateway server is shutdown when option drain is specified. -
bounce
Specifies whether to restart API Gateway server after shutdown. A value of true would restart the server. Default value is false.- Gibt zurück:
this.
-
option
Specifies whether to shutdown API Gateway server immediately or after all client sessions are ended. A value of 'force' would shutdown the server immediately and 'drain' would wait for a maximum period of time for all the client sessions to end before shutdown.- Gibt zurück:
this.
-
quiesce
A value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server. Next, when API Gateway is restarted either manually or using bounce parameter, the Integration server will be started in Quiesce mode. Note: In a cluster, the flushing of in memory data would happen only on one of the nodes and hence on other nodes the API call would return immediately by eliminating the flush time. The default value is false.- Gibt zurück:
this.
-
timeout
Specifies the maximum wait time in minutes before API Gateway server is shutdown when option drain is specified.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-