Class BenchmarkReftable

    • Field Detail

      • tries

        private int tries
      • ref

        private java.lang.String ref
      • objectId

        private java.lang.String objectId
      • lsRemotePath

        private java.lang.String lsRemotePath
      • reftablePath

        private java.lang.String reftablePath
    • Constructor Detail

      • BenchmarkReftable

        BenchmarkReftable()
    • Method Detail

      • run

        protected void run()
                    throws java.lang.Exception
        Perform the actions of this command.

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

        Specified by:
        run in class TextBuiltin
        Throws:
        java.lang.Exception - an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
      • printf

        private void printf​(java.lang.String fmt,
                            java.lang.Object... args)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • writeStack

        private void writeStack()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • scan

        private void scan()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readLsRemote

        private RefList<Ref> readLsRemote()
                                   throws java.io.IOException,
                                          java.io.FileNotFoundException
        Throws:
        java.io.IOException
        java.io.FileNotFoundException
      • seekCold

        private void seekCold​(java.lang.String refName)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • seekHot

        private void seekHot​(java.lang.String refName)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • byIdCold

        private void byIdCold​(ObjectId id)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • byIdHot

        private void byIdHot​(ObjectId id)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getRefsExcludingWithFilter

        private void getRefsExcludingWithFilter​(java.lang.String prefix)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getRefsExcludingWithSeekPast

        private void getRefsExcludingWithSeekPast​(java.lang.String prefix)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception