Class UpdateServerStatusCommand
java.lang.Object
com.linecorp.centraldogma.server.command.RootCommand<Void>
com.linecorp.centraldogma.server.command.UpdateServerStatusCommand
A
Command which is used to update the status of all servers in the cluster.-
Constructor Summary
ConstructorsConstructorDescriptionUpdateServerStatusCommand(@Nullable Long timestamp, @Nullable Author author, ServerStatus serverStatus) Creates a new instance with the specified properties. -
Method Summary
Modifier and TypeMethodDescriptionfinal Authorauthor()Returns the author who initiated the command.booleaninthashCode()Returns the status of the server.final longReturns the time when performing the command, in milliseconds.final StringtoString()final CommandTypetype()Returns theCommandTypeof the command.Methods inherited from class RootCommand
executionPath
-
Constructor Details
-
UpdateServerStatusCommand
public UpdateServerStatusCommand(@Nullable Long timestamp, @Nullable Author author, ServerStatus serverStatus) Creates a new instance with the specified properties.
-
-
Method Details
-
serverStatus
Returns the status of the server. -
equals
-
hashCode
public int hashCode() -
type
Description copied from interface:CommandReturns theCommandTypeof the command. -
timestamp
-
author
-
toString
-