PHP Class CCM

Exibir arquivo Open project: datastax/php-driver Class Usage Examples

Public Methods

Method Description
__construct ( $version = self::DEFAULT_CASSANDRA_VERSION, $isSilent = false, $clusterPrefix = self::DEFAULT_CLUSTER_PREFIX )
enableTracing ( $isEnabled )
pauseNode ( $nodes )
removeAllClusters ( $is_all = false )
removeCluster ( $cluster )
resumeNode ( $nodes )
setup ( $dataCenterOneNodes, $dataCenterTwoNodes )
setupClientVerification ( )
setupSSL ( )
setupSchema ( $schema, $dropExistingKeyspaces = true )
setupUserDefinedFunctions ( )
start ( )
startNode ( $nodes )
stop ( )
stopNode ( $nodes )

Private Methods

Method Description
getClusters ( )
internalSetup ( $dataCenterOneNodes, $dataCenterTwoNodes )
isActive ( $clusterName )
run ( )
startsWith ( $prefix, $string )

Method Details

__construct() public method

public __construct ( $version = self::DEFAULT_CASSANDRA_VERSION, $isSilent = false, $clusterPrefix = self::DEFAULT_CLUSTER_PREFIX )

enableTracing() public method

public enableTracing ( $isEnabled )

pauseNode() public method

public pauseNode ( $nodes )

removeAllClusters() public method

public removeAllClusters ( $is_all = false )

removeCluster() public method

public removeCluster ( $cluster )

resumeNode() public method

public resumeNode ( $nodes )

setup() public method

public setup ( $dataCenterOneNodes, $dataCenterTwoNodes )

setupClientVerification() public method

setupSSL() public method

public setupSSL ( )

setupSchema() public method

public setupSchema ( $schema, $dropExistingKeyspaces = true )

setupUserDefinedFunctions() public method

start() public method

public start ( )

startNode() public method

public startNode ( $nodes )

stop() public method

public stop ( )

stopNode() public method

public stopNode ( $nodes )