Eclipse调试时,JVM参数的录入,例如:-D

这几天在看Cassandra的源代码,Cassandra是通过org.apache.cassandra.service.CassandraDaemon来启动的。在-D的参数中(storage-config)指定了的Cassandra配置文件storage-conf.xml的路径。系统通过下面的code来获取值:

Java代码  
  1. configFileName_ = System.getProperty("storage-config") + File.separator + "storage-conf.xml";  

相关文章:

  • 2022-02-13
  • 2021-12-24
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案