Package zipkin2.storage.mysql.v1
Class MySQLStorage
- java.lang.Object
-
- zipkin2.Component
-
- zipkin2.storage.StorageComponent
-
- zipkin2.storage.mysql.v1.MySQLStorage
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public final class MySQLStorage extends StorageComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMySQLStorage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutocompleteTagsautocompleteTags()CheckResultcheck()voidclose()javax.sql.DataSourcedatasource()Returns the session in use by this storage component.static MySQLStorage.BuildernewBuilder()ServiceAndSpanNamesserviceAndSpanNames()SpanConsumerspanConsumer()SpanStorespanStore()java.lang.StringtoString()Tracestraces()-
Methods inherited from class zipkin2.storage.StorageComponent
isOverCapacity
-
-
-
-
Method Detail
-
newBuilder
public static MySQLStorage.Builder newBuilder()
-
datasource
public javax.sql.DataSource datasource()
Returns the session in use by this storage component.
-
spanStore
public SpanStore spanStore()
- Specified by:
spanStorein classStorageComponent
-
traces
public Traces traces()
- Overrides:
tracesin classStorageComponent
-
serviceAndSpanNames
public ServiceAndSpanNames serviceAndSpanNames()
- Overrides:
serviceAndSpanNamesin classStorageComponent
-
autocompleteTags
public AutocompleteTags autocompleteTags()
- Overrides:
autocompleteTagsin classStorageComponent
-
spanConsumer
public SpanConsumer spanConsumer()
- Specified by:
spanConsumerin classStorageComponent
-
check
public CheckResult check()
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-