码迷,mamicode.com
首页 >  
搜索关键字:io scheduler    ( 173928个结果
Windows编程-异步IO-1-
Windows编程-异步IO-1- 当我们读取一个文件时,一般情况下,线程是阻塞的,也就是当前线程在等待文件读取操作结束,也就是这个线程只用来读文件,等读完了再返回。这种方式叫做同步IO。 Windows在系统底层为用户实现了另一种高效的机制,叫做重叠I/O,又称作异步I/O。异步I/O操作提供了一 ...
分类:Windows程序   时间:2021-01-25 11:13:09    阅读次数:0
Spring Boot 整合Swagger2
Spring Boot 整合Swagger2 依赖导入 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </depend ...
分类:编程语言   时间:2021-01-25 10:42:42    阅读次数:0
Redis主从+哨兵搭建
Redis主从+Sentinel搭建文档 1、单机redis安装 wget http://download.redis.io/releases/redis-5.0.3.tar.gzcd /usr/local/tar -zxvf redis-5.0.3.tar.gzmv redis-5.0.3/ re ...
分类:其他好文   时间:2021-01-22 11:52:28    阅读次数:0
IO目录常用操作2
//建立文件夹 File f=new File("user"); System.out.println(f.createNewFile()); //建立文件 File wj = new File("user.txt"); File wj2=new File(".","user2.txt"); Sys ...
分类:其他好文   时间:2021-01-21 10:47:05    阅读次数:0
删除多级目录
package com.example.delete;import java.io.File;public class DeleteDirectory { /** * 删除空目录 * @param dir 将要删除的目录路径 */ private static void doDeleteEmptyD ...
分类:其他好文   时间:2021-01-21 10:32:07    阅读次数:0
Validation fails for CustomResource with array of pointers
github上面的原问题链接:https://github.com/kubernetes/kubernetes/issues/98079 按照他说的, 我新建了一个crd,yaml文件内容如下: apiVersion: apiextensions.k8s.io/v1 kind: CustomReso ...
分类:其他好文   时间:2021-01-20 12:18:15    阅读次数:0
Spring Boot整合Sharding-JDBC实现分库分表+读写分离io.shardingsphere(4)
1、数据库准备 1、192.168.8.162 test1主 2、192.168.8.134 test1从 3、192.168.8.176 test1从 4、192.168.8.162 test2主 5、192.168.8.134 test2从 6、192.168.8.176 test2从 2、准备 ...
分类:数据库   时间:2021-01-20 11:42:43    阅读次数:0
springboot扩展MVC
转自:https://www.pianshen.com/article/58601308015/ springboot配置MVC的官网信息:https://docs.spring.io/spring-boot/docs/2.2.1.RELEASE/reference/htmlsingle/#boot ...
分类:编程语言   时间:2021-01-19 12:26:09    阅读次数:0
从令牌中获取载荷
使用时在引导类用@bean注入 在需要用的地方@AutoWired注入 package com.changgou.order.config; import com.alibaba.fastjson.JSON; import org.springframework.core.io.ClassPathR ...
分类:其他好文   时间:2021-01-19 12:17:05    阅读次数:0
如何构建一个多人(.io) Web 游戏,第 1 部分
原文:How to Build a Multiplayer (.io) Web Game, Part 1 GitHub: https://github.com/vzhou842/example-.io-game 深入探索一个 .io 游戏的 Javascript client-side(客户端)。 ...
分类:Web程序   时间:2021-01-19 11:49:17    阅读次数:0
173928条   上一页 1 ... 38 39 40 41 42 ... 17393 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!