public abstract class StorageConsumer extends Object implements Consumer, zipkin.Component
accept(Iterable).| Constructor and Description |
|---|
StorageConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Iterable<zipkin.Span> spansSharingId) |
zipkin.Component.CheckResult |
check() |
void |
close() |
protected abstract zipkin.storage.StorageComponent |
tryCompute()
Subclasses should initialize this from serializable state.
|
protected abstract zipkin.storage.StorageComponent tryCompute()
public final void accept(Iterable<zipkin.Span> spansSharingId)
public zipkin.Component.CheckResult check()
check in interface zipkin.Componentpublic final void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface zipkin.ComponentIOExceptionCopyright © 2017 OpenZipkin. All rights reserved.