// Path: src/main/java/org/easycassandra/ReplicaStrategy.java
// public enum ReplicaStrategy {
//     /**
//      * SimpleStrategy places the first replica on a node determined by the
//      * partitioner. Additional replicas are placed on the next nodes clockwise
//      * in the ring without considering rack or data center location.
//      */
//     SIMPLES_TRATEGY("'SimpleStrategy'"),
//     /**
//      * is the preferred replication placement strategy when you have information
//      * about how nodes are grouped in your data center, or when you have (or
//      * plan to have) your cluster deployed across multiple data centers. This
//      * strategy allows you to specify how many replicas you want in each data
//      * center.
//      */
//     NETWORK_TOPOLOGY_STRATEGY("'NetworkTopologyStrategy'"),
//     /**
//      * use a custom query.
//      */
//     CUSTOM_STRATEGY("");
// 
//     private String value;
// 
//     ReplicaStrategy(String value) {
//         this.value = value;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
// }


import org.easycassandra.ReplicaStrategy;
package org.easycassandra.persistence.cassandra;


/**
 * Class for manage Connections.
 * @author otaviojava
 *
 */
public interface EasyCassandraFactory {

    /**
    * Method for create the Cassandra's Client, if the keyspace there is not,if
    * keyspace there isn't, it will created with simple strategy replica and
    * number of fator 3.
    * @param keySpace
    *            - the keyspace's name
    * @return the client bridge for the Cassandra data base
    */
    @Deprecated
    Persistence getPersistence(String keySpace);
    /**
     * Method for create the Cassandra's Client, if the keyspace there is not,if
     * keyspace there isn't, it will created with replacyStrategy and number of
     * factor.
     * @param host
     *            - place where is Cassandra data base
     * @param keySpace
     *            - the keyspace's name
     * @param replicaStrategy
     *            - replica strategy
     * @param factor
     *            - number of the factor
     * @return the client bridge for the Cassandra data base
     */
    @Deprecated
    Persistence getPersistence(String host, String keySpace,
// Path: src/main/java/org/easycassandra/ReplicaStrategy.java
// public enum ReplicaStrategy {
//     /**
//      * SimpleStrategy places the first replica on a node determined by the
//      * partitioner. Additional replicas are placed on the next nodes clockwise
//      * in the ring without considering rack or data center location.
//      */
//     SIMPLES_TRATEGY("'SimpleStrategy'"),
//     /**
//      * is the preferred replication placement strategy when you have information
//      * about how nodes are grouped in your data center, or when you have (or
//      * plan to have) your cluster deployed across multiple data centers. This
//      * strategy allows you to specify how many replicas you want in each data
//      * center.
//      */
//     NETWORK_TOPOLOGY_STRATEGY("'NetworkTopologyStrategy'"),
//     /**
//      * use a custom query.
//      */
//     CUSTOM_STRATEGY("");
// 
//     private String value;
// 
//     ReplicaStrategy(String value) {
//         this.value = value;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
// }


// Path: src/main/java/org/easycassandra/persistence/cassandra/EasyCassandraFactory.java
import org.easycassandra.ReplicaStrategy;

package org.easycassandra.persistence.cassandra;


/**
 * Class for manage Connections.
 * @author otaviojava
 *
 */
public interface EasyCassandraFactory {

    /**
    * Method for create the Cassandra's Client, if the keyspace there is not,if
    * keyspace there isn't, it will created with simple strategy replica and
    * number of fator 3.
    * @param keySpace
    *            - the keyspace's name
    * @return the client bridge for the Cassandra data base
    */
    @Deprecated
    Persistence getPersistence(String keySpace);
    /**
     * Method for create the Cassandra's Client, if the keyspace there is not,if
     * keyspace there isn't, it will created with replacyStrategy and number of
     * factor.
     * @param host
     *            - place where is Cassandra data base
     * @param keySpace
     *            - the keyspace's name
     * @param replicaStrategy
     *            - replica strategy
     * @param factor
     *            - number of the factor
     * @return the client bridge for the Cassandra data base
     */
    @Deprecated
    Persistence getPersistence(String host, String keySpace,
            ReplicaStrategy replicaStrategy, int factor);