Mercurial > hg > Members > shoshi > TreeCMSv2
changeset 18:00ac748fbce1
commit
author | shoshi |
---|---|
date | Tue, 24 May 2011 19:28:38 +0900 |
parents | 168deb591f21 |
children | 019ca5abb1f0 |
files | src/treecms/cassandra/CassandraNodeMap.java |
diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/treecms/cassandra/CassandraNodeMap.java Tue May 24 19:28:38 2011 +0900 @@ -0,0 +1,16 @@ +package treecms.cassandra; + +import java.util.Collection; +import java.util.Map; +import java.util.Set; +import java.util.concurrent.ConcurrentHashMap; + +public class CassandraNodeMap +{ + private Map<NodeID,SingleNode> m_table; + + public CassandraNodeMap(String _host,int _port,String _ks) + { + m_table = new ConcurrentHashMap<NodeID,SingleNode>(); + } +}