Modifier and Type | Field and Description |
---|---|
protected boolean |
_canPrintVerbose |
String |
configFile
Multiple instances are allowed, but we only use the last one specified if so; hence
type of
String |
boolean |
isJSON |
boolean |
isTextual |
protected static BasicTSKeyConverter |
KEY_CONVERTER |
protected static com.fasterxml.clustermate.json.ClusterMateObjectMapper |
mapper |
List<String> |
servers |
protected static Pattern |
SLASH_PATTERN |
boolean |
verbose |
Modifier | Constructor and Description |
---|---|
protected |
TStoreCmdBase(boolean canPrintVerbose) |
Modifier and Type | Method and Description |
---|---|
protected static void |
_pathFrom(File f,
StringBuilder sb) |
protected File |
appendPath(File base,
String path) |
protected BasicTSClient |
bootstrapClient(BasicTSClientConfig clientConfig,
SkeletalServiceConfig serviceConfig) |
protected BasicTSKey |
contentKey(com.fasterxml.storemate.shared.StorableKey rawKey) |
protected BasicTSKey |
contentKey(String external) |
protected BasicTSKey |
contentKey(String partition,
String path) |
protected void |
error(String template,
Object... args) |
protected BasicTSClientConfig |
getClientConfig() |
protected SkeletalServiceConfig |
getServiceConfig() |
protected com.fasterxml.jackson.core.JsonGenerator |
jsonGenerator(OutputStream out) |
protected com.fasterxml.jackson.databind.ObjectWriter |
jsonWriter(Class<?> cls) |
protected static String |
pathFromFile(File f)
Helper method used for converting local (usually) relative filenames
into server-side paths.
|
protected <T> T |
terminateWith(Throwable e) |
protected void |
warn(String template,
Object... args) |
protected static final com.fasterxml.clustermate.json.ClusterMateObjectMapper mapper
protected static final Pattern SLASH_PATTERN
protected static final BasicTSKeyConverter KEY_CONVERTER
protected final boolean _canPrintVerbose
public boolean verbose
public String configFile
String
public boolean isTextual
public boolean isJSON
protected TStoreCmdBase(boolean canPrintVerbose)
canPrintVerbose
- Whether this command is allowed to print things to stdout
in verbose modeprotected SkeletalServiceConfig getServiceConfig()
protected BasicTSClientConfig getClientConfig()
protected BasicTSClient bootstrapClient(BasicTSClientConfig clientConfig, SkeletalServiceConfig serviceConfig)
protected BasicTSKey contentKey(String external)
protected BasicTSKey contentKey(String partition, String path)
protected BasicTSKey contentKey(com.fasterxml.storemate.shared.StorableKey rawKey)
protected com.fasterxml.jackson.databind.ObjectWriter jsonWriter(Class<?> cls)
protected com.fasterxml.jackson.core.JsonGenerator jsonGenerator(OutputStream out) throws IOException
IOException
protected <T> T terminateWith(Throwable e)
protected static String pathFromFile(File f)
protected static void _pathFrom(File f, StringBuilder sb)
Copyright © 2013 FasterXML. All Rights Reserved.