use of org.apache.hadoop.ozone.om.helpers.OmDeleteKeys in project ozone by apache.
the class RpcClient method deleteKeys.
@Override
public void deleteKeys(String volumeName, String bucketName, List<String> keyNameList) throws IOException {
HddsClientUtils.verifyResourceName(volumeName, bucketName);
Preconditions.checkNotNull(keyNameList);
OmDeleteKeys omDeleteKeys = new OmDeleteKeys(volumeName, bucketName, keyNameList);
ozoneManagerClient.deleteKeys(omDeleteKeys);
}
Aggregations