Java Code Examples for zipkin2.storage.StorageComponent#Builder
The following examples show how to use
zipkin2.storage.StorageComponent#Builder .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ITCassandraDependencies.java From zipkin-dependencies with Apache License 2.0 | 4 votes |
@Override protected StorageComponent.Builder newStorageBuilder(TestInfo testInfo) { keyspace = testInfo.getTestMethod().get().getName().toLowerCase(); if (keyspace.length() > 48) keyspace = keyspace.substring(keyspace.length() - 48); return backend.computeStorageBuilder().keyspace(keyspace); }
Example 2
Source File: ITCassandraDependencies.java From zipkin-dependencies with Apache License 2.0 | 4 votes |
@Override protected StorageComponent.Builder newStorageBuilder(TestInfo testInfo) { keyspace = testInfo.getTestMethod().get().getName().toLowerCase(); if (keyspace.length() > 48) keyspace = keyspace.substring(keyspace.length() - 48); return backend.computeStorageBuilder().keyspace(keyspace); }
Example 3
Source File: ITElasticsearchDependencies.java From zipkin-dependencies with Apache License 2.0 | 4 votes |
@Override protected StorageComponent.Builder newStorageBuilder(TestInfo testInfo) { index = testInfo.getTestClass().get().getName().toLowerCase(); if (index.length() > 48) index = index.substring(index.length() - 48); return backend().computeStorageBuilder().index(index); }
Example 4
Source File: ITMySQLDependencies.java From zipkin-dependencies with Apache License 2.0 | 4 votes |
@Override protected StorageComponent.Builder newStorageBuilder(TestInfo testInfo) { return backend.computeStorageBuilder(); }