public class DeleteResultMetadata extends Object implements ResultMetadata
| Constructor and Description |
|---|
DeleteResultMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeletedKey(String key)
Add successfully deleted key.
|
void |
addDeletedKeys(Collection<String> keys)
Add successfully deleted keys.
|
void |
addException(String key,
Exception ex)
Add exception thrown during delete of a key.
|
void |
addExceptions(Map<String,Exception> exceptionKeyMap)
Add exception thrown during delete of keys.
|
Set<String> |
getDeletedKeys() |
Map<String,ResultStatus> |
getExcptions() |
public void addDeletedKey(String key)
key - - successfully deleted key.public void addDeletedKeys(Collection<String> keys)
keys - - successfully deleted keys.public void addException(String key, Exception ex)
key - - successfully deleted keys.ex - - exceptionpublic void addExceptions(Map<String,Exception> exceptionKeyMap)
public Map<String,ResultStatus> getExcptions()
Copyright © 2022 Apache Software Foundation. All rights reserved.