Class SessionFactory.Default

java.lang.Object
zipkin2.storage.cassandra.v1.SessionFactory.Default
All Implemented Interfaces:
SessionFactory
Enclosing interface:
SessionFactory

public static final class SessionFactory.Default
extends Object
implements SessionFactory
  • Constructor Details

  • Method Details

    • create

      public com.datastax.driver.core.Session create​(CassandraStorage cassandra)
      Creates a session and ensures schema if configured. Closes the cluster and session if any exception occurred.
      Specified by:
      create in interface SessionFactory