Class ITStorage<T extends StorageComponent>

    • Constructor Detail

      • ITStorage

        public ITStorage()
    • Method Detail

      • initializeStoragePerTest

        protected boolean initializeStoragePerTest()
        Sets the test to initialise the StorageComponent before each test rather than the test class. Generally, tests will run faster if the storage is initialized as infrequently as possibly while clearing data between runs, but for certain backends like Cassandra, it's difficult to reliably clear data between runs and tends to be very slow anyways.
      • traces

        protected Traces traces()
      • accept

        protected final void accept​(Span... spans)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • accept

        protected final void accept​(java.util.List<Span> spans)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • blockWhileInFlight

        protected void blockWhileInFlight()
      • clear

        protected abstract void clear()
                               throws java.lang.Exception
        Clears store between tests.
        Throws:
        java.lang.Exception