Class MainIngestionRequestClient
java.lang.Object
com.linkedin.davinci.ingestion.main.MainIngestionRequestClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
This class sends requests to isolated ingestion process and retrieves responses.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
killConsumptionTask
(String topicName) void
openStorageEngine
(String topicName) void
removeStorageEngine
(String topicName) boolean
removeTopicPartition
(String topicName, int partitionId) void
resetTopicPartition
(String topicName, int partitionId) boolean
protected void
setHttpClientTransport
(HttpClientTransport clientTransport) void
shutdownForkedProcessComponent
(IngestionComponentType ingestionComponentType) void
shutdownIngestionTask
(String topicName) boolean
startConsumption
(String topicName, int partitionId) startForkedIngestionProcess
(VeniceConfigLoader configLoader) boolean
stopConsumption
(String topicName, int partitionId) boolean
updateMetadata
(IngestionStorageMetadata ingestionStorageMetadata)
-
Constructor Details
-
MainIngestionRequestClient
-
-
Method Details
-
startForkedIngestionProcess
-
startConsumption
-
stopConsumption
-
killConsumptionTask
-
shutdownIngestionTask
-
removeStorageEngine
-
openStorageEngine
-
removeTopicPartition
-
resetTopicPartition
-
updateMetadata
-
shutdownForkedProcessComponent
-
sendHeartbeatRequest
public boolean sendHeartbeatRequest() -
getLoadedStoreUserPartitionMapping
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
setHttpClientTransport
-