摘要: 安装 brew install zookeeper mac zookeeper 命令如下 zkServer {start|start-foreground|stop|version|restart|status|print-cmd} p配置文件目录 cat /usr/local/etc/zookee 阅读全文
posted @ 2021-08-28 20:18 程序员熊明才 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 一、下载 官方连接 https://archive.apache.org/dist/zookeeper/ yum install wget -y wget https://archive.apache.org/dist/zookeeper/zookeeper-3.6.0/apache-zookeep 阅读全文
posted @ 2021-08-28 20:02 程序员熊明才 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 1)引入依赖 <!-- https://mvnrepository.com/artifact/quartz/quartz --> <dependency> <groupId>quartz</groupId> <artifactId>quartz</artifactId> <version>1.5.2 阅读全文
posted @ 2021-08-28 00:46 程序员熊明才 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 删除原有mariadb [root@test mysql]# rpm -qa | grep mariadb mariadb-devel-5.5.52-1.axs7.x86_64 mariadb-libs-5.5.52-1.axs7.x86_64 [root@test mysql]# rpm -e - 阅读全文
posted @ 2021-08-28 00:34 程序员熊明才 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 什么是函数式接口?自定义一个函数式接口 什么是函数式接口?自定义一个函数式接口 1、函数式接口是有且只有一个抽象方法的接口 2、Java中拥有大量函数式接口,如:java.lang.Runnable 3、JDK8后提供了一系列新的函数式接口,位于java.util.function lambda语法格式: (参数列表) → 实现语句。 参 阅读全文
posted @ 2021-08-28 00:22 程序员熊明才 阅读(2672) 评论(0) 推荐(0) 编辑