| Modifier and Type | Method and Description |
|---|---|
Set<Span> |
getChildren(String tenant,
String id)
Get all children of a given span.
|
Set<Span> |
getTrace(String tenant,
String id)
Get all spans which belongs to the trace.
|
void |
store(String tenantId,
List<Span> spans,
Function<Span,String> cacheKeyEntrySupplier)
Stores spans into cache
|
Set<Span> getChildren(String tenant, String id)
tenant - the tenantid - Id of the span.Set<Span> getTrace(String tenant, String id)
tenant - the tenantid - id of the tracevoid store(String tenantId, List<Span> spans, Function<Span,String> cacheKeyEntrySupplier) throws CacheException
tenantId - The tenantspans - The spanscacheKeyEntrySupplier - Function to generate unique id of the spanCacheExceptionSpanUniqueIdGenerator}. This is used as key
entry in the cache.Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.