class BenchmarkReftable extends TextBuiltin
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BenchmarkReftable.Test |
TextBuiltin.TerminatedByHelpException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
lsRemotePath |
private java.lang.String |
objectId |
private java.lang.String |
ref |
private java.lang.String |
reftablePath |
private BenchmarkReftable.Test |
test |
private int |
tries |
Constructor and Description |
---|
BenchmarkReftable() |
Modifier and Type | Method and Description |
---|---|
private void |
byIdCold(ObjectId id) |
private void |
byIdHot(ObjectId id) |
private void |
printf(java.lang.String fmt,
java.lang.Object... args) |
private RefList<Ref> |
readLsRemote() |
protected void |
run()
Perform the actions of this command.
|
private void |
scan() |
private void |
seekCold(java.lang.String refName) |
private void |
seekHot(java.lang.String refName) |
private void |
writeStack() |
containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository
private int tries
private BenchmarkReftable.Test test
private java.lang.String ref
private java.lang.String objectId
private java.lang.String lsRemotePath
private java.lang.String reftablePath
protected void run() throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[])
.
run
in class TextBuiltin
java.lang.Exception
- an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.private void printf(java.lang.String fmt, java.lang.Object... args) throws java.io.IOException
java.io.IOException
private void writeStack() throws java.lang.Exception
java.lang.Exception
private void scan() throws java.lang.Exception
java.lang.Exception
private RefList<Ref> readLsRemote() throws java.io.IOException, java.io.FileNotFoundException
java.io.IOException
java.io.FileNotFoundException
private void seekCold(java.lang.String refName) throws java.lang.Exception
java.lang.Exception
private void seekHot(java.lang.String refName) throws java.lang.Exception
java.lang.Exception
private void byIdCold(ObjectId id) throws java.lang.Exception
java.lang.Exception
private void byIdHot(ObjectId id) throws java.lang.Exception
java.lang.Exception