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) |
containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepositoryprivate 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 TextBuiltinjava.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.IOExceptionprivate void scan()
throws java.lang.Exception
java.lang.Exceptionprivate RefList<Ref> readLsRemote() throws java.io.IOException, java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionprivate void seekCold(java.lang.String refName)
throws java.lang.Exception
java.lang.Exceptionprivate void seekHot(java.lang.String refName)
throws java.lang.Exception
java.lang.Exceptionprivate void byIdCold(ObjectId id) throws java.lang.Exception
java.lang.Exceptionprivate void byIdHot(ObjectId id) throws java.lang.Exception
java.lang.Exception