@Command(name="delete", description="DELETE entries from TStore") public class DeleteCmd extends TStoreCmdBase
Modifier and Type | Field and Description |
---|---|
List<String> |
arguments |
int |
maxEntries |
boolean |
recursive |
_canPrintVerbose, configFile, isJSON, isTextual, KEY_CONVERTER, mapper, servers, SLASH_PATTERN, verbose
Constructor and Description |
---|
DeleteCmd() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
_deleteSingle(BasicTSClient client,
BasicTSKey path) |
protected int |
deleteRecursively(BasicTSClient client,
BasicTSKey path) |
protected int |
deleteSingle(BasicTSClient client,
BasicTSKey path) |
void |
run() |
_pathFrom, appendPath, bootstrapClient, contentKey, contentKey, contentKey, error, getClientConfig, getServiceConfig, jsonGenerator, jsonWriter, pathFromFile, terminateWith, warn
public void run()
protected int deleteSingle(BasicTSClient client, BasicTSKey path) throws IOException, InterruptedException
IOException
InterruptedException
protected int deleteRecursively(BasicTSClient client, BasicTSKey path) throws IOException, InterruptedException
IOException
InterruptedException
protected boolean _deleteSingle(BasicTSClient client, BasicTSKey path) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2013 FasterXML. All Rights Reserved.