id
name
related bits
0
processing priority
3
site type
0 (generic, awaiting analysis)
review version
11
html import
20 (imported)
first seen date
2024-03-11 07:16:39
expired found date
-
created at
2024-06-10 11:43:44
updated at
2024-11-11 13:39:18
length
11
crc
57217
tld
156
nm parts
0
nm random digits
0
nm rare letters
0
is subdomain of id
-
previous id
0
replaced with id
0
related id
-
dns primary id
dns alternative id
0
lifecycle status
0 (unclassified, or currently active)
deleted subdomains
0
page imported products
0
page imported random
0
page imported parking
0
count skipped due to recent timeouts on the same server IP
0
count content received but rejected due to 11-799
0
count dns errors
0
count cert errors
0
count timeouts
0
count http 429
0
count http 404
0
count http 403
0
count http 5xx
0
next operation date
-
server bits
—
server ip
-
mp import status
20
mp rejected date
-
mp saved date
-
mp size orig
14606
mp size raw text
5273
mp inner links count
0
mp inner links status
1 (no links)
title
没有理想的人不伤心
description
Theme PaperMod - https://github.com/adityatelange/hugo-PaperMod
site name
author
dushixiang
updated
2025-12-22 19:05:07
raw text
没有理想的人不伤心 没有理想的人不伤心 文章 分类 搜索 标签 关于作者 一只普通后端开发,擅长Java,偶尔写Python、Golang。 以下是我开源的几个项目: next-terminal 是一个轻量级堡垒机系统,易安装,易使用,支持RDP、SSH、VNC、Telnet、Kubernetes协议。 kafka-map 是一个美观简洁且强大的kafka web管理工具。 在 Java 里如何让方法只执行一次? 最近一年时间一直在写 Golang ,也算是对 Golang 有了初步的掌握,再次写 Java 的时候发现有点生疏了,写代码的时候也不自觉代入了写 Golang 的思维。 正如我想要在 Java 里面想让某一个方法只执行一次的时候,我第一时间想到了 Golang 里面的 Once 功能。 sync.Once 是 Golang 的一个并发原语,它提供了一种安全地在多个 goroutine 中执行某个函数(或代码块)一次的机制。 sync.Once 类型有一个 Do 方法,该方法接收一个函数作为参数,并确保这个函数只会被执行一次,无论有多少个 goroutine 同时调用它。具体来说,第一个调用 Do 方法的 goroutine 会执行这个函数,而其他 goroutine 则会等待它完成,然后返回相同的结果。 sync.Once 可以用于一些需要全局初始化的场景,比如初始化配置信息、数据库连接等。使用 sync.Once 可以确保这些初始化只会被执行一次,并且可以安全地被多个 goroutine 共享使用。 – 来自 ChatGPT 其实和单例模式差不多,但我想要的是让方法只执行一次,我魔改了一下,直接上代码吧。 package cn.typesafe.sync; import lombok.SneakyThrows; import java.util.concurrent.Callable; public class Once { private volatile T t = null; @SneakyThrows public T doOnce(Callable action) { if (t == null) { synchronized (this) { if (t == null) { t ...
redirect type
0 (-)
block type
0 (no issues)
detected language
1 (English)
category id
index version
2025123101
spam phrases
0
text nonlatin
1692
text cyrillic
0
text characters
4197
text words
693
text unique words
449
text lines
69
text sentences
6
text paragraphs
5
text words per sentence
115
text matched phrases
8
text matched dictionaries
4
rss path
rss status
1 (priority 1 already searched, no matches found)
rss found date
-
rss size orig
0
rss items
0
rss spam phrases
0
rss detected language
0 (awaiting analysis)
inbefore feed id
-
inbefore status
0 (new)
sitemap path
sitemap status
30 (processing completed, results pushed to table crawler_sitemaps.ext_domain_sitemap_lists)
sitemap review version
1
sitemap urls count
41
sitemap urls adult
0
sitemap filtered products
0
sitemap filtered videos
0
sitemap found date
2024-03-19 17:28:39
sitemap process date
2024-11-11 13:39:18
sitemap first import date
-
sitemap last import date
-