me.prettyprint.cassandra.service.template
Class CassandraClusterFactory
java.lang.Object
me.prettyprint.cassandra.service.template.CassandraClusterFactory
public class CassandraClusterFactory
- extends Object
Factory to remove Cassandra configuration concerns from DAO objects.
This is invoked via a spring factory method that allows injection of the
Hector Cluster object into the DAO.
- Since:
- Jan 14, 2011
- Author:
- david
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CassandraClusterFactory
public CassandraClusterFactory()
getInstance
public static Cluster getInstance(String name,
String host,
int port)
Copyright © 2011. All Rights Reserved.