@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, warnpublic void run()
protected int deleteSingle(BasicTSClient client, BasicTSKey path) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected int deleteRecursively(BasicTSClient client, BasicTSKey path) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected boolean _deleteSingle(BasicTSClient client, BasicTSKey path) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2013 FasterXML. All Rights Reserved.