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 class
MySQLStorage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutocompleteTags
autocompleteTags()
CheckResult
check()
void
close()
javax.sql.DataSource
datasource()
Returns the session in use by this storage component.static MySQLStorage.Builder
newBuilder()
ServiceAndSpanNames
serviceAndSpanNames()
SpanConsumer
spanConsumer()
SpanStore
spanStore()
java.lang.String
toString()
-
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:
spanStore
in classStorageComponent
-
serviceAndSpanNames
public ServiceAndSpanNames serviceAndSpanNames()
- Overrides:
serviceAndSpanNames
in classStorageComponent
-
autocompleteTags
public AutocompleteTags autocompleteTags()
- Overrides:
autocompleteTags
in classStorageComponent
-
spanConsumer
public SpanConsumer spanConsumer()
- Specified by:
spanConsumer
in classStorageComponent
-
check
public CheckResult check()
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-