原创 Elasticsearch6.2.2說明文檔--Mapping

環境:       Elasticsearch: 6.2.2       Kibana: 6.2.2       os: centos 7原文鏈接:https://www.elastic.co/guide/en/elasticsearch

原创 Elasticsearch6.2.2說明文檔--index操作

環境:       Elasticsearch: 6.2.2       Kibana: 6.2.2       os: centos 7 原文地址:https://www.elastic.co/guide/en/elasticsearc

原创 Google Java代碼規範

原文地址:https://google.github.io/styleguide/javaguide.htmlGIthub上GoogleCode風格的配置文件(支持Eclipse IDE和IntelliJ IDE):https://git

原创 java8 Hashtable 解析

實現接口:Map<K,V>, Cloneable, java.io.Serializable繼      承:Dictionary1、線程安全,通過方法synchronized實現2、key 、value均不能爲空3、兩個重要參數init

原创 Elasticsearch6.2.2說明文檔--集羣健康監測

環境:       Elasticsearch: 6.2.2       Kibana: 6.2.2       os: centos 7原文地址:https://www.elastic.co/guide/en/elasticsearch

原创 AWK命令

AWK是一種處理文本文件的語言,是一個強大的文本分析工具。之所以叫AWK是因爲其取了三位創始人 Alfred Aho,Peter Weinberger, 和 Brian Kernighan 的Family Name的首字符。語法awk [

原创 ES(ElasticSearch) 索引創建

環境:ES 6.2.2os:Centos  7kibana:6.2.21、創建新的索引(index)    PUT indexTest001    結果:2、索引設置      ES 默認提供了好多索引配置選項,參考https://www

原创 dubbo-spring-boot-starter

資源地址:https://github.com/alibaba/dubbo-spring-boot-starterDubbo Spring Boot Starter。支持jdk版本爲1.6或者1.6+(在修改源碼前,請導入googlest

原创 Elasticsearch6.2.2說明文檔--基本概念

環境:       Elasticsearch: 6.2.2       Kibana: 6.2.2       os: centos 7參考文檔:https://www.elastic.co/guide/en/elasticsearch

原创 Java ConcurrentHashMap 解析

繼承: AbstractMap<K,V>接口:ConcurrentMap<K,V>, Serializable1、所有的操作都是線程安全的2、線程安全不是通過synchroned實現,同樣GET、PUT、REMOVE操作也不會產生鎖。3、

原创 Java 內存模型以及垃圾收集

一、JVM體系結構程序計數器:是一塊較小的內存空間,可以看作是當前線程所執行的字節碼的行號指示器。虛擬機棧:是描述java方法執行的內存模型,每個方法在執行的同時都會創建一個棧幀(Stack Frame)用於存儲局部變量表、操作數棧、動態

原创 Elasticsearch分片優化

原文地址:https://qbox.io/blog/optimizing-elasticsearch-how-many-shards-per-index大多數ElasticSearch用戶在創建索引時通用會問的一個重要問題是:我需要創建多

原创 Elasticsearch6.2.2說明文檔--數據操作(Document操作)

環境:       Elasticsearch: 6.2.2       Kibana: 6.2.2       os: centos 7 原文參考地址:https://www.elastic.co/guide/en/elasticsea

原创 Linux系列之-chkconfig

chkconfig命令主要用來更新(啓動或停止)和查詢系統服務的運行級信息。謹記chkconfig不是立即自動禁止或激活一個服務,它只是簡單的改變了符號連接。 使用語法: chkconfig [--add][--del][--list][

原创 linux系列之-xsel

xsel 剪切板操作指令: title: linux下直接複製文件內容到剪切板 date: 2017-11-23 17:00:06 tags: categories: Linux 首先安裝xsel. xsel --input --cli