com.websudos.phantom.connectors

CassandraManager

Related Doc: package connectors

abstract class CassandraManager extends ConnectionUtils

Linear Supertypes
ConnectionUtils, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CassandraManager
  2. ConnectionUtils
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CassandraManager(hosts: Set[InetSocketAddress])

Abstract Value Members

  1. abstract def cluster: Cluster

    Volatile reference synchronized by an initialisation lock that allows for recreation of the cluster.

    Volatile reference synchronized by an initialisation lock that allows for recreation of the cluster.

    returns

    A Cassandra Cluster object.

    Attributes
    protected[this]
    Annotations
    @volatile()
  2. abstract def clusterRef: Cluster

    Public accessor for the cluster method.

    Public accessor for the cluster method.

    returns

    A reference to the cluster being used.

  3. abstract def initIfNotInited(keySpace: String): Unit

  4. abstract def livePort: Int

  5. implicit abstract def session: Session

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def cassandraVersions: Set[VersionNumber]

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createKeySpace(keySpace: KeySpace): String

    Attributes
    protected[this]
    Definition Classes
    ConnectionUtils
  8. def createKeySpace(keySpace: String): String

    Creates the CQL query to be executed when phantom connectors guarantee the existence of the keySpace before connection.

    Creates the CQL query to be executed when phantom connectors guarantee the existence of the keySpace before connection. By default, this will use lightweight transactions in Cassandra(IF NOT EXISTS queries) to guarantee data is not overwritten.

    keySpace

    The string name of the KeySpace the manager needs to use.

    returns

    The CQL Query that will be executed to create the KeySpace.

    Attributes
    protected[this]
    Definition Classes
    ConnectionUtils
  9. def embeddedPort: Int

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def getCurrentIp: InetAddress

    Attributes
    protected[this]
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. val hosts: Set[InetSocketAddress]

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def localhost(port: Int): InetSocketAddress

    Attributes
    protected[this]
  19. lazy val logger: Logger

    Definition Classes
    ConnectionUtils
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def shouldAttemptReconnect(exception: Throwable): Boolean

    Determines whether a connection error thrown is fatal.

    Determines whether a connection error thrown is fatal. This filters for certain Datastax Java Driver errors, such as a TimeoutError or a ChannelClosedException. It re-creates the cluster in events when it is possible.

    exception

    The exception that was thrown in the connection pipeline.

    returns

    A Boolean marking whether or not a re-connection should be attempted.

    Attributes
    protected[this]
    Definition Classes
    ConnectionUtils
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ConnectionUtils

Inherited from AnyRef

Inherited from Any

Ungrouped