自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

nobody

HTTP2 ======>>. HTTP/3 || K8S

  • 博客(25)
  • 资源 (40)
  • 收藏
  • 关注

原创 java Puzzles 之关于金钱计算那些事

java Puzzles 之关于金钱计算那些事 java Puzzles 之关于金钱计算那些事,java要用int、long、or BigDecimal来计算,一般我们BigDecimal。package com.doctor.java.puzzle;import java.math.BigDecimal;/** * @author sdcuike * *

2016-01-31 21:39:35 1751

原创 java Puzzles 之 如何正确的判断奇数

java Puzzles 之 如何正确的判断奇数如何判断一个正数为奇数,看似简单,但我们也经常忽略掉整数有负数、0、正数。数学概念也很重要滴。package com.doctor.java.puzzle;/** * @author sdcuike * * @time 2016年1月31日 下午9:08:54 * 如何正确的判断奇数 * 要考虑到

2016-01-31 21:24:50 1874

原创 bash 之for循环

bash 之for循环bash中,for也是一个关键字,我们可以用type命令验证一下:BeaverdeMacBook-Pro:opt Beaver$ type forfor is a shell keywordfor循环的一个简单例子:#! /bin/env bashfor u in doctor who am i; do echo $udone

2016-01-31 10:41:31 791

转载 写日志的那些事儿

摘要写日志简介 一般提到写日志,主要有下面几种不同的场景: 诊断日志:应用打印异常信息,排查问题用,一般是给人看的,输出格式会比较随意,里面可能会有异常堆栈,或者排查问题用的一些文本信息; 数据日志:一般是用来做监控和数据分析的,可以人肉临时分析,也可以给机器分析,要求格式比较固定; 交易日志:一...写日志简介一般提到写日志,主要有下面几种不同的场景:诊断日志

2016-01-30 14:36:37 2374

转载 How to find PID of process listening on a port in Linux? netstat and lsof command examples

How to find PID of process listening on a port in Linux? netstat and lsof command examplesIn Linux, many times, you want tofind out the PID of a process which are listening on

2016-01-30 14:28:04 1240

转载 10 points about instanceof operator in Java with example

10 points about instanceof operator in Java with exampleThe instanceof operator in Java is used to check if an object belongs to a particular type or not at runtime. It's also a built-in key

2016-01-30 14:21:57 731

转载 How does Java HashMap or LinkedHahsMap handles collisions?

How does Java HashMap or LinkedHahsMap handles collisions? Prior to Java 8, HashMap and all other hash table based Map implementation classes in Java handle collision bychaining, i.e

2016-01-24 16:17:30 908

转载 5 Tips for Reducing Your Java Garbage Collection Overhead

What are some of the most useful tips for keeping your GC overhead low?With the upcoming-yet-delayed-once-again release of Java 9, the G1 (“Garbage First”) garbage collector is set to become the def

2016-01-24 15:35:27 850

转载 A Primer on Open-Source NoSQL Databases

The idea of this article is to understand NoSQL databases, its properties, various types, data model, and how they differ from standard RDBMS.1. IntroductionThe RDMS databases are here for nea

2016-01-24 15:29:15 1402

转载 Event-Driven Data Management for Microservices

Event-Driven Data Management for MicroservicesThis is the fifth article in a series about building applications with microservices. The first article introduces the Microservices Architecture

2016-01-24 15:22:59 1212

转载 Adopting Microservices at Netflix: Lessons for Architectural Design

Adopting Microservices at Netflix: Lessons for Architectural DesignIn some recent blog posts, we’ve explained why we believe it’s crucial to adopt a four-tier application architecture in which

2016-01-24 15:19:49 1157

转载 It’s Time to Move to a Four-Tier Application Architecture

It’s Time to Move to a Four-Tier Application ArchitectureThe new year is well underway and, like many others, you are probably planning upcoming projects to enhance your existing digital experie

2016-01-24 15:17:43 866

转载 微服务(Microservice)那点事

摘要微服务架构被提出很短的时间内,就被越来越多的开发人员推崇,简单来说其主要的目的是有效的拆分应用,实现敏捷开发和部署 。本分享即尝试介绍微服务架构的一些实施细节和要求,探询微服务架构的由来,并最终提供我们团队内部的一些实践总结,希望对大家有帮助。WHAT - 什么是微服务微服务简介这次参加JavaOne2015最大的困难就是听Microservice相关的sessio

2016-01-24 15:13:38 4521

原创 Voluntarily Relinquishing the Processor-----《Pro_Java_8_Programming_(3rd_edition)》

Voluntarily Relinquishing the ProcessorAs you’ve seen, the specific details of how threads share the processor’s time vary from one platform to thenext. The operating system will sometimes

2016-01-24 11:25:52 933

原创 Uncaught Exceptions ----《Pro_Java_8_Programming_(3rd_edition)》

Uncaught ExceptionsAs mentioned earlier, a thread dies when it exits the run() method of the Runnable object with which it’sassociated. In most cases, this will occur when the thread has execu

2016-01-24 11:13:33 717

原创 Java’s Architecture - 《Pro_Java_8_Programming_(3rd_edition)》

Java’s ArchitectureIt’s easy to think of Java as merely the programming language with whichyou develop your applications—writingsource files and compiling them into bytecode. However, Java as a

2016-01-20 00:13:55 916

转载 异常的深入研究与分析(1)

原文出处: 金丝燕网前言本文是异常内容的集大成者,力求全面,深入的异常知识研究与分析。本文由金丝燕网独家撰写,参考众多网上资源,经过内容辨别取舍,文字格式校验等步骤编辑而成,以飨读者。对于本文的内容,建议小白需要多多思考力求掌握,对于老手只需意会温故知新。对于本文的内容,属于基础知识研究范畴,切勿以为读完此文就能将异常知识掌握到家。切记:操千曲而后晓声,观千剑而后识器,所以我觉得没

2016-01-17 16:26:26 524

翻译 enum 是实现单例最好的解决方案吗

enum 是实现单例最好的解决方案吗你一定听说过很多次,enum总是实现单例模式最好的选择。那enum是最好的选择吗?比起其它实现方式有什么好的地方?我们看一下。 要实现一个单例模式是很棘手的,我也在另一篇博客上提到了好几个实现方法,见http://howtodoinjava.com/2012/10/22/singleton-design-pattern-in-java

2016-01-17 16:21:46 2969

翻译 spring-如何给静态变量注入值

spring-如何给静态变量注入值spring 不允许/不支持把值注入到静态变量中,如:import org.springframework.beans.factory.annotation.Value;import org.springframework.stereotype.Component;@Componentpublic class Global

2016-01-17 16:09:31 22848 4

转载 Top 6 Database Performance Metrics to Monitor in Enterprise Applications

In a previous article, we presented an introduction to SQL and NoSQL. This article builds on these topics by reviewing six of the top performance metrics to assess the health of your database in your

2016-01-17 15:45:49 1043

原创 Netty in Action 读书

Netty in Action作者: Norman Maurer / Marvin Allen Wolfthal 出版社: Manning Publications出版年: 2015-12-31页数: 296定价: USD 54.99装帧: PaperbackISBN: 9781617291470

2016-01-17 14:48:13 1149

原创 Gerrit 手动安装

(optional) Create a non-privileged user to run Gerrit$ sudo adduser gerrit2$ sudo su gerrit2Initialize review site (batch mode) and start Gerrit$ java -jar gerrit-2.11.5.war init --bat

2016-01-16 10:42:41 3644

原创 mongoDB对时间的处理ISODate与我们时区相差8小时

mongoDB对时间的处理ISODate与我们时区相差8小时在mongoDB数据库中,时间的保存是ISODate类型,orm关系映射为java.util.Date类型,其保存的时间与我们会有8小时的区别(保存的时间比我们早了8个小时)。原数据为:Person [id=11188, name=doctorwho, age=888888,birth=2016-01-

2016-01-02 22:58:41 70787 7

原创 java获取指定年月的开始时间与结束时间

java获取指定年月的开始时间与结束时间项目中用到mongoldb,操作mongoldb 用的是spring data框架。由于mongoldb java驱动要求的事java类型Date与自己的iso date 类型才能保存,而且mongoldb还没像sql数据库一样,提供对时间的处理函数,而项目中经常利用时间区统计数据,进行计算,所以,时间的计算只能由java层处理了。p

2016-01-02 21:45:06 13545

原创 lua模块的几种实现方式

lua模块的几种实现方式1.一种是大家比较常见的比较简单的实现方式:利用table实现,最后返回这个table变量。---- Created by IntelliJ IDEA.-- User: sdcuike-- Date: 2016/1/2-- Time: 15:10-- To change this template use File | Settings

2016-01-02 15:53:26 1778

Packt.Design.Patterns.and.Best.Practices.in.Java.9.1786463598.epub.zip

Packt.Design.Patterns.and.Best.Practices.in.Java.9.1786463598 Packt.Design.Patterns.and.Best.Practices.in.Java.9.1786463598

2019-09-07

Packt.Mastering.Java.9.1786468735.zip

Packt.Mastering.Java.9 Packt.Mastering.Java.9 Packt.Mastering.Java.9

2019-09-07

Java 9 Dependency Injection - Nilang Patel.pdf.zip

Java 9 Dependency Injection - Nilang Patel Java 9 Dependency Injection - Nilang Patel Java 9 Dependency Injection - Nilang Patel

2019-09-07

Spring 5 Recipes A Problem-Solution Approach.zip

Spring 5 Recipes A Problem-Solution Approach

2019-09-03

Syngress.SQL.Injection.Attacks.and.Defense.2nd.Edition.1597499633.zip

Syngress.SQL.Injection.Attacks.and.Defense.2nd.Edition.1597499633

2019-08-31

Syngress.SQL.Injection.Attacks.and.Defense.2nd.Edition.1597499633.epub

Syngress.SQL.Injection.Attacks.and.Defense.2nd.Edition.1597499633

2019-08-31

Syngress.SQL.Injection.Attacks.and.Defense.2nd.Edition.1597499633.mobi

Syngress.SQL.Injection.Attacks.and.Defense.2nd.Edition.1597499633

2019-08-31

How Software Works.pdf.zip

How Software Works How Software Works How Software Works

2019-08-24

Composing.Software.2019.2.mobi

Composing.Software.2019.2

2019-07-18

Composing.Software.2019.2.pdf

Composing.Software.2019.2

2019-07-18

OCP Java SE 8 Programmer II Exam Guide.pdf

OCP Java SE 8 Programmer II Exam Guide;OCP Java SE 8 Programmer II Exam Guide

2019-07-14

Learn Java 12 Programming.epub

Learn Java 12 Programming;Learn Java 12 Programming;Learn Java 12 Programming

2019-07-13

Social Network-Based Recommender Systems

Social Network-Based Recommender Systems Social Network-Based Recommender Systems

2018-04-07

The Robert C. Martin Clean Code Collection.

The Robert C. Martin Clean Code Collection. The Robert C. Martin Clean Code Collection.

2018-02-03

Hadoop Explained.pdf )

Hadoop Explained.pdf Hadoop Explained.pdf ) Hadoop Explained.pdf )

2018-02-03

Java Deep Learning Essentials.epub

Java Deep Learning Essentials.epub Java Deep Learning Essentials.epub

2018-02-03

Mastering Microservices with Java.pdf

Mastering Microservices with Java.pdf Mastering Microservices with Java.pdf

2018-02-03

Mastering Microservices with Java.mob

Mastering Microservices with Java.mob Mastering Microservices with Java.mob

2018-02-03

esper官方文档

esper官方文档,最新5.20.学习cep的开源实现

2015-06-20

C++ Programming Fundamentals 9781683929765

C++ Programming Fundamentals 9781683929765

2023-06-22

Advanced Data Structures and Algorithms 9789355517937

Advanced Data Structures and Algorithms 9789355517937

2023-06-22

Java.9.0.to.17.0.Cookbook

Java.9.0.to.17.0.Cookbook java9 Cookbook java10 Cookbook java11 Cookbook java12 Cookbook java13 Cookbook java14 Cookbook java15 Cookbook java16 Cookbook java17 Cookbook

2023-02-25

Mastering Python

Mastering Python

2023-02-21

Beginning Python, 3rd Editi

Beginning Python, 3rd Editi

2023-02-21

MySQL High Availability.zip

MySQL High Availability.zip

2021-04-03

SQLPerformanceExplained.pdf.zip

SQLPerformanceExplained.pdf.zip

2021-04-03

Effective.C.2020.8.zip

Effective.C.2020.8.zip

2021-01-02

Docker.Deep.Dive.2020.5.txt

Docker.Deep.Dive.2020.5.txt

2021-01-02

Docker.Deep.Dive.2020.5.zip

Docker.Deep.Dive.2020.5

2021-01-02

Design.and.Build.Great.Web.APIs.2020.10.zip

Design.and.Build.Great.Web.APIs.2020.10

2020-12-26

The.Kubernetes.Book.2020.9.epub

The.Kubernetes.Book.2020.9.epub

2020-12-26

Advanced MySQL 8 1st Edition.Pdf

Advanced MySQL 8 1st Edition.Pdf

2020-03-23

Learn Docker - Fundamentals of Docker 18.x 2018.pdf.zip

Learn Docker - Fundamentals of Docker 18.x 2018.pdf.zip Learn Docker - Fundamentals of Docker 18.x 2018.pdf.zip Learn Docker - Fundamentals of Docker 18.x 2018.pdf.zip Learn Docker - Fundamentals of Docker 18.x 2018.pdf.zip

2020-02-08

逆流而上 阿里巴巴技术成长之路.pdf.zip

逆流而上 阿里巴巴技术成长之路.pdf.zip 逆流而上 阿里巴巴技术成长之路.pdf.zip 逆流而上 阿里巴巴技术成长之路.pdf.zip

2020-02-08

Packt.Mastering.Kubernetes.1788999789.rar

Mastering.Kubernetes

2020-02-07

Introducing Maven, 2nd Edition.epub

Introducing Maven, 2nd Edition.epub Introducing Maven, 2nd Edition.epub Introducing Maven, 2nd Edition.epub

2019-11-30

Java 9 Revealed.pdf.zip

Java 9 Revealed.pdf.zip

2019-10-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除