Top Inners Fields Constructors Methods
org.eclipse.jgit.pgm.debug

pack-priv Class BenchmarkReftable

extends TextBuiltin
Class Inheritance
Annotations
@Command
Static Imports
java.nio.charset.StandardCharsets.UTF_8, org.eclipse.jgit.lib.Constants.HEAD, .Constants.MASTER, .Constants.R_HEADS, .Ref.Storage.NEW, .Ref.Storage.PACKED

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static enum

Field Summary

Modifier and TypeField and Description
private String
private String
private String
private String
private BenchmarkReftable.Test
private int
Inherited from org.eclipse.jgit.pgm.TextBuiltin:
argWalkdberrserrwgitdirinsoutsoutw

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
private void
private void
private void
private void
printf(String fmt, Object... args)

private RefList<Ref>
protected void
run()

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

private void
scan()

private void
seekCold(String refName)

private void
seekHot(String refName)

private void
Inherited from org.eclipse.jgit.pgm.TextBuiltin:
containsHelpdiediediedieexecutegetErrorWritergetOutputWritergetRepositorygetResourceBundleinitinitRawparseArgumentsprintUsageprintUsageAndExitprintUsageAndExitrequiresRepository

Field Detail

lsRemotePathback to summary
private String lsRemotePath
Annotations
@Argument
index:0
objectIdback to summary
private String objectId
Annotations
@Option
name:--object-id
refback to summary
private String ref
Annotations
@Option
name:--ref
reftablePathback to summary
private String reftablePath
Annotations
@Argument
index:1
testback to summary
private BenchmarkReftable.Test test
Annotations
@Option
name:--test
triesback to summary
private int tries
Annotations
@Option
name:--tries

Constructor Detail

BenchmarkReftableback to summary
pack-priv BenchmarkReftable()

Method Detail

byIdColdback to summary
private void byIdCold(ObjectId id) throws Exception
Annotations
@SuppressWarnings:nls, boxing
byIdHotback to summary
private void byIdHot(ObjectId id) throws Exception
Annotations
@SuppressWarnings:nls, boxing
getRefsExcludingWithFilterback to summary
private void getRefsExcludingWithFilter(String prefix) throws Exception
Annotations
@SuppressWarnings:nls, boxing
getRefsExcludingWithSeekPastback to summary
private void getRefsExcludingWithSeekPast(String prefix) throws Exception
Annotations
@SuppressWarnings:nls, boxing
printfback to summary
private void printf(String fmt, Object... args) throws IOException
readLsRemoteback to summary
private RefList<Ref> readLsRemote() throws IOException, FileNotFoundException
runback to summary
protected void run() throws Exception

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Doc from org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

This method should only be invoked by execute(String[]).

Annotations
@Override
Exceptions
Exception:
an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
scanback to summary
private void scan() throws Exception
Annotations
@SuppressWarnings:nls, boxing
seekColdback to summary
private void seekCold(String refName) throws Exception
Annotations
@SuppressWarnings:nls, boxing
seekHotback to summary
private void seekHot(String refName) throws Exception
Annotations
@SuppressWarnings:nls, boxing
writeStackback to summary
private void writeStack() throws Exception
Annotations
@SuppressWarnings:nls, boxing
org.eclipse.jgit.pgm.debug back to summary

pack-priv final Enum BenchmarkReftable.Test

extends Enum<BenchmarkReftable.Test>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final BenchmarkReftable.Test
public static final BenchmarkReftable.Test
public static final BenchmarkReftable.Test
public static final BenchmarkReftable.Test
public static final BenchmarkReftable.Test
public static final BenchmarkReftable.Test
public static final BenchmarkReftable.Test

Constructor Summary

AccessConstructor and Description
private
Test()

Method Summary

Modifier and TypeMethod and Description
public static BenchmarkReftable.Test
public static BenchmarkReftable.Test[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BY_ID_COLDback to summary
public static final BenchmarkReftable.Test BY_ID_COLD
BY_ID_HOTback to summary
public static final BenchmarkReftable.Test BY_ID_HOT
GET_REFS_EXCLUDING_REFback to summary
public static final BenchmarkReftable.Test GET_REFS_EXCLUDING_REF
SCANback to summary
public static final BenchmarkReftable.Test SCAN
SEEK_COLDback to summary
public static final BenchmarkReftable.Test SEEK_COLD
SEEK_HOTback to summary
public static final BenchmarkReftable.Test SEEK_HOT
WRITE_STACKback to summary
public static final BenchmarkReftable.Test WRITE_STACK

Constructor Detail

Testback to summary
private Test()

Method Detail

valueOfback to summary
public static BenchmarkReftable.Test valueOf(String name)
valuesback to summary
public static BenchmarkReftable.Test[] values()