
java 进程
文章平均质量分 55
weixin_43987631
这个作者很懒,什么都没留下…
展开
-
基于SpringBoot与Redis实现分布式锁
/** * Copyright 2020 Tianshu AI Platform. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:原创 2021-12-22 17:07:24 · 461 阅读 · 0 评论 -
java根据Process获取进程id,根据进程id杀死进程
java根据Process获取进程id,根据进程id杀死进程 通过jna调用动态链接库的方式来获取pid,需要在代码里面导入一个jna-4.1.0.jar,对应的maven如下: <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</arti...原创 2019-05-22 11:30:01 · 8650 阅读 · 10 评论