Package zipkin2.storage
Class ITStrictTraceIdFalse<T extends StorageComponent>
- java.lang.Object
-
- zipkin2.storage.ITStorage<T>
-
- zipkin2.storage.ITStrictTraceIdFalse<T>
-
public abstract class ITStrictTraceIdFalse<T extends StorageComponent> extends ITStorage<T>
Base test for whenstrictTraceId == false
.Subtypes should create a connection to a real backend, even if that backend is in-process.
This is a replacement for
zipkin.storage.StrictTraceIdFalseTest
.
-
-
Constructor Summary
Constructors Constructor Description ITStrictTraceIdFalse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Span>
accept128BitTrace(StorageComponent storage)
protected void
configureStorageForTest(StorageComponent.Builder storage)
Configures aStorageComponent.Builder
with parameters for the test being executed.protected void
getTraces_128BitTraceId(List<Span> trace)
-
Methods inherited from class zipkin2.storage.ITStorage
accept, accept, blockWhileInFlight, clear, initializeStoragePerTest, names, newStorageBuilder, store, traces
-
-
-
-
Method Detail
-
configureStorageForTest
protected final void configureStorageForTest(StorageComponent.Builder storage)
Description copied from class:ITStorage
Configures aStorageComponent.Builder
with parameters for the test being executed.- Specified by:
configureStorageForTest
in classITStorage<T extends StorageComponent>
-
getTraces_128BitTraceId
protected void getTraces_128BitTraceId(List<Span> trace) throws IOException
- Throws:
IOException
-
accept128BitTrace
protected List<Span> accept128BitTrace(StorageComponent storage) throws IOException
- Throws:
IOException
-
-