We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Thanks to user wolpert for the example (http://github.com/wolpert/)
private static final ThreadLocal <Keyspace> keyspaceHolder = new ThreadLocal <Keyspace> () { @Override protected Keyspace initialValue() { Cluster cluster = HFactory.getOrCreateCluster(clusterName, servers); return createKeyspace(keyspace, cluster); } }; public static Keyspace getKeyspace() { return keyspaceHolder.get(); }