Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a252937166/toutiaocrawler
/ functions
Functions
70 in github.com/a252937166/toutiaocrawler
⨍
Functions
70
◇
Types & classes
13
↓ 3 callers
Method
monitorThreadTime
监控线程超时守护线程,到超时时间去查看一下线程状态,如果正在执行中则停止线程(这段有问题) @param timeOutTime:超时时间 @param future:执行结果表单,将用来计算超时
src/main/java/com/ouyanglol/crawler/util/ThreadUtil.java:83
↓ 3 callers
Method
setMsg
(String msg)
src/main/java/com/ouyanglol/crawler/web/HttpResult.java:42
↓ 3 callers
Method
setSuccess
(boolean success)
src/main/java/com/ouyanglol/crawler/web/HttpResult.java:58
↓ 2 callers
Method
apiInfo
()
src/main/java/com/ouyanglol/crawler/config/Swagger2Config.java:28
↓ 2 callers
Method
getCount
(@Param(value = "keyWord") String keyWord)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:24
↓ 2 callers
Method
getInitialSize
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:72
↓ 2 callers
Method
getLongTimeOutThread
创建一个线程,将线程放到长时间线程池中,并且启动一个守护线程监控线程超时 @param runnable:需要运行的线程 @throws Exception
src/main/java/com/ouyanglol/crawler/util/ThreadUtil.java:49
↓ 2 callers
Method
getMaxActive
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:56
↓ 2 callers
Method
getMinIdle
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:64
↓ 2 callers
Method
setResult
(T result)
src/main/java/com/ouyanglol/crawler/web/HttpResult.java:50
↓ 1 callers
Method
getAsCp
()
src/main/java/com/ouyanglol/crawler/util/ToutiaoUtil.java:16
↓ 1 callers
Method
getFilters
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:88
↓ 1 callers
Method
getList
(@Param("start") int start, @Param("pageSize") int pageSize, @Param("keyWord") String keyWord)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:26
↓ 1 callers
Method
getPassword
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:40
↓ 1 callers
Method
getReturn
(String url)
src/main/java/com/ouyanglol/crawler/util/HttpUtil.java:13
↓ 1 callers
Method
getUrl
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:24
↓ 1 callers
Method
getUsername
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:32
↓ 1 callers
Method
insert
(CrawlerArticle record)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:12
↓ 1 callers
Method
isTestOnBorrow
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:80
↓ 1 callers
Method
pickData
(String url)
src/main/java/com/ouyanglol/crawler/service/CrawlerService.java:71
↓ 1 callers
Method
setAuthor
作者 author
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:83
↓ 1 callers
Method
setContent
content
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:93
↓ 1 callers
Method
setCreateDate
create_date
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:53
↓ 1 callers
Method
setFilters
(String filters)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:92
↓ 1 callers
Method
setInitialSize
(int initialSize)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:76
↓ 1 callers
Method
setMaxActive
(int maxActive)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:60
↓ 1 callers
Method
setMinIdle
(int minIdle)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:68
↓ 1 callers
Method
setPassword
(String password)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:44
↓ 1 callers
Method
setPublishDate
发布时间 publish_date
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:73
↓ 1 callers
Method
setSourceUrl
原文地址 source_url
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:63
↓ 1 callers
Method
setTestOnBorrow
(boolean testOnBorrow)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:84
↓ 1 callers
Method
setTitle
title
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:43
↓ 1 callers
Method
setUrl
(String url)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:28
↓ 1 callers
Method
setUsername
(String username)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:36
↓ 1 callers
Method
start
()
src/main/java/com/ouyanglol/crawler/controller/CrawlerController.java:77
↓ 1 callers
Method
toutiaoCrawler
(String url)
src/main/java/com/ouyanglol/crawler/service/CrawlerService.java:38
Method
add
(@RequestParam @ApiParam(value = "uid",required = true) String uid, @RequestParam(defaultValue = "") @ApiParam
src/main/java/com/ouyanglol/crawler/controller/CrawlerController.java:42
Method
addResourceHandlers
(ResourceHandlerRegistry registry)
src/main/java/com/ouyanglol/crawler/config/WebMvcConfig.java:38
Method
dataSource
()
src/main/java/com/ouyanglol/crawler/druid/DruidAutoConfiguration.java:34
Method
deleteByPrimaryKey
(Integer id)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:10
Method
docket
()
src/main/java/com/ouyanglol/crawler/config/Swagger2Config.java:17
Method
druidServlet
()
src/main/java/com/ouyanglol/crawler/druid/DruidAutoConfiguration.java:59
Method
filterRegistrationBean
()
src/main/java/com/ouyanglol/crawler/druid/DruidAutoConfiguration.java:74
Method
getArticleList
(@RequestParam @ApiParam(required = true) int pageSize, @RequestParam @ApiParam(required = true) int pageNo, @
src/main/java/com/ouyanglol/crawler/controller/CrawlerController.java:131
Method
getArticleList
(int pageNo, int pageSize, String keyWord)
src/main/java/com/ouyanglol/crawler/service/CrawlerService.java:101
Method
getAuthor
作者 author
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:78
Method
getCode
()
src/main/java/com/ouyanglol/crawler/web/HttpResult.java:30
Method
getContent
content
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:88
Method
getCount
(String keyWord)
src/main/java/com/ouyanglol/crawler/service/CrawlerService.java:97
Method
getCreateDate
create_date
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:48
Method
getDriverClass
()
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:48
Method
getId
id
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:28
Method
getMsg
()
src/main/java/com/ouyanglol/crawler/web/HttpResult.java:38
Method
getPublishDate
发布时间 publish_date
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:68
Method
getResult
()
src/main/java/com/ouyanglol/crawler/web/HttpResult.java:46
Method
getSortTimeOutThread
创建一个线程,将线程放到短时间线程池中,并且启动一个守护线程监控线程超时 @param runnable:需要运行的线程 @throws Exception
src/main/java/com/ouyanglol/crawler/util/ThreadUtil.java:34
Method
getSourceUrl
原文地址 source_url
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:58
Method
getTitle
title
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:38
Method
insertSelective
(CrawlerArticle record)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:14
Method
isSuccess
()
src/main/java/com/ouyanglol/crawler/web/HttpResult.java:54
Method
main
(String[] args)
src/main/java/com/ouyanglol/crawler/Application.java:13
Method
selectByPrimaryKey
(Integer id)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:16
Method
setCode
(Integer code)
src/main/java/com/ouyanglol/crawler/web/HttpResult.java:34
Method
setDriverClass
(String driverClass)
src/main/java/com/ouyanglol/crawler/druid/DruidProperties.java:52
Method
setId
id
src/main/java/com/ouyanglol/crawler/model/CrawlerArticle.java:33
Method
status
()
src/main/java/com/ouyanglol/crawler/controller/CrawlerController.java:123
Method
stop
()
src/main/java/com/ouyanglol/crawler/controller/CrawlerController.java:114
Method
updateByPrimaryKey
(CrawlerArticle record)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:22
Method
updateByPrimaryKeySelective
(CrawlerArticle record)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:18
Method
updateByPrimaryKeyWithBLOBs
(CrawlerArticle record)
src/main/java/com/ouyanglol/crawler/mapper/CrawlerArticleMapper.java:20