Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
0e9e188a
Commit
0e9e188a
authored
Mar 19, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改插件端项目扫描方式 将自动扫描改为手动配置!增加启动速度,减少资源消耗!
parent
7df3401c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
16 deletions
+9
-16
plugin.xml
...ecutor/myth-executor-plugin/src/main/resources/plugin.xml
+0
-13
Mains.java
...nt/byit-demo-client/src/main/java/com/byit/job/Mains.java
+9
-3
No files found.
byit-myth-executor/myth-executor-plugin/src/main/resources/plugin.xml
deleted
100644 → 0
View file @
7df3401c
<?xml version="1.0" encoding="UTF-8"?>
<executor-plugin>
<port>
8989
</port>
<classNames>
<className>
com.byit.model.PluginConfigModel
</className>
<className>
com.byit.model.PluginConfigModel
</className>
<className>
com.byit.model.PluginConfigModel
</className>
<className>
com.byit.model.PluginConfigModel
</className>
<className>
com.byit.model.PluginConfigModel
</className>
<className>
com.byit.model.PluginConfigModel
</className>
</classNames>
</executor-plugin>
\ No newline at end of file
demo-client/byit-demo-client/src/main/java/com/byit/job/Mains.java
View file @
0e9e188a
package
com
.
byit
.
job
;
package
com
.
byit
.
job
;
import
com.byit.filesystem.FastDfsFileSystem
;
import
com.byit.launcher.JobRunServerLauncher
;
import
com.byit.launcher.JobRunServerLauncher
;
import
com.byit.utils.JobUtils
;
import
com.byit.utils.JobUtils
;
import
org.csource.common.MyException
;
import
java.io.IOException
;
import
java.io.IOException
;
...
@@ -12,11 +14,15 @@ import java.io.IOException;
...
@@ -12,11 +14,15 @@ import java.io.IOException;
* @date: 2019/11/20 12:18
* @date: 2019/11/20 12:18
**/
**/
public
class
Mains
{
public
class
Mains
{
public
static
void
main
(
String
[]
args
)
throws
InterruptedException
{
public
static
void
main
(
String
[]
args
)
throws
InterruptedException
,
IOException
,
MyException
{
new
JobRunServerLauncher
(
"/plugin.xml"
);
FastDfsFileSystem
fastDfsFileSystem
=
new
FastDfsFileSystem
();
byte
[]
bytes
=
fastDfsFileSystem
.
downloaderFile
(
"ddmp/M00/00/00/CgB4Al5wa36ADcUtAAAAiVc2FQ85978.py"
);
System
.
out
.
println
(
new
String
(
bytes
));
/*new JobRunServerLauncher("/plugin.xml");
JobUtils.jobCache.forEach((key,value) ->{
JobUtils.jobCache.forEach((key,value) ->{
System.out.println(key);
System.out.println(key);
});
});
*/
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment