Class StateStoreOperationResult
java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.driver.StateStoreOperationResult
State store operation result with list of failed records.
-
Constructor Summary
ConstructorsConstructorDescriptionStateStoreOperationResult(String failedRecordKey) State store operation result constructor with a single failed record key.StateStoreOperationResult(List<String> failedRecordsKeys, boolean isOperationSuccessful) State store operation result constructor with list of failed records keys and boolean to inform whether the overall operation is successful. -
Method Summary
-
Constructor Details
-
StateStoreOperationResult
State store operation result constructor with list of failed records keys and boolean to inform whether the overall operation is successful.- Parameters:
failedRecordsKeys- The list of failed records keys.isOperationSuccessful- True if the operation was successful, False otherwise.
-
StateStoreOperationResult
State store operation result constructor with a single failed record key.- Parameters:
failedRecordKey- The failed record key.
-
-
Method Details
-
getFailedRecordsKeys
-
isOperationSuccessful
public boolean isOperationSuccessful() -
getDefaultSuccessResult
-