摘要:
Eclipse调试时,JVM参数的录入,例如:-D 这几天在看Cassandra的源代码,Cassandra是通过org.apache.cassandra.service.CassandraDaemon来启动的。在-D的参数中(storage-config)指定了的Cassandra配置文件storage-conf.xml的路径。系统通过下面的code来获取值:Java代码 configFileName_=System.getProperty("storage-config")+File.separator+"storage-conf.xml"; con 阅读全文
posted @ 2011-11-21 13:46
无痕客
阅读(3692)
评论(0)
推荐(0)

浙公网安备 33010602011771号