Class AdminResponse
java.lang.Object
com.linkedin.davinci.listener.response.AdminResponse
This class stores all the information required for answering a server admin request.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a partition consumption state to the admin response recordvoid
addServerConfigs
(Properties properties) Load all server configs into admin response recordvoid
addStoreVersionState
(StoreVersionState storeVersionState) Add store version state metadata into the admin response recordio.netty.buffer.ByteBuf
static int
boolean
isError()
byte[]
void
setError
(boolean error) void
setMessage
(String message)
-
Field Details
-
IGNORED_COMPRESSION_DICT
-
-
Constructor Details
-
AdminResponse
public AdminResponse()
-
-
Method Details
-
addPartitionConsumptionState
Add a partition consumption state to the admin response record -
addStoreVersionState
Add store version state metadata into the admin response record -
addServerConfigs
Load all server configs into admin response record -
getResponseBody
public io.netty.buffer.ByteBuf getResponseBody() -
serializedResponse
public byte[] serializedResponse() -
getResponseSchemaIdHeader
public static int getResponseSchemaIdHeader() -
setError
public void setError(boolean error) -
isError
public boolean isError() -
setMessage
-
getMessage
-
getResponseRecord
-