Class ControllerResponse
java.lang.Object
com.linkedin.venice.controllerapi.ControllerResponse
- Direct Known Subclasses:
AclResponse
,AdminCommandExecutionResponse
,AdminTopicMetadataResponse
,ChildAwareResponse
,ClusterStaleDataAuditResponse
,D2ServiceDiscoveryResponse
,HybridStoreQuotaStatusResponse
,IncrementalPushVersionsResponse
,JobStatusQueryResponse
,LastSucceedExecutionIdResponse
,LeaderControllerResponse
,MigrationPushStrategyResponse
,MultiNodeResponse
,MultiNodesStatusResponse
,MultiReplicaResponse
,MultiSchemaIdResponse
,MultiSchemaResponse
,MultiStoragePersonaResponse
,MultiStoreInfoResponse
,MultiStoreResponse
,MultiStoreStatusResponse
,MultiStoreTopicsResponse
,MultiVersionStatusResponse
,NewStoreResponse
,NodeReplicasReadinessResponse
,NodeStatusResponse
,OwnerResponse
,PartitionResponse
,PubSubTopicConfigResponse
,PushJobStatusUploadResponse
,PushStatusResponse
,ReadyForDataRecoveryResponse
,RegionPushDetailsResponse
,RepushInfoResponse
,ResourceStateResponse
,RoutersClusterConfigResponse
,SchemaResponse
,SchemaUsageResponse
,StoppableNodeStatusResponse
,StorageEngineOverheadRatioResponse
,StoragePersonaResponse
,StoreComparisonResponse
,StoreHealthAuditResponse
,StoreMigrationResponse
,StoreResponse
,SystemStoreHeartbeatResponse
,TrackableControllerResponse
,VersionResponse
Extend this class to create response objects for the controller
Any fields that must be in all responses can go here.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
Deprecated.getName()
boolean
isError()
Starting with Jackson 1.9, if this is the only annotation:JsonIgnore
associated with a property, it will also cause the whole property to be ignored.void
setCluster
(String cluster) void
void
void
void
setErrorType
(ErrorType errorType) void
toString()
-
Constructor Details
-
ControllerResponse
public ControllerResponse()
-
-
Method Details
-
isError
public boolean isError()Starting with Jackson 1.9, if this is the only annotation:JsonIgnore
associated with a property, it will also cause the whole property to be ignored. So we need to explicitly specifyJsonProperty
withgetError()
andsetError(String)
- Returns:
-
getCluster
-
setCluster
-
getName
-
getErrorType
-
getExceptionType
Deprecated. -
setName
-
getError
-
setError
-
setError
-
setError
-
setErrorType
-
toString
-