Giter Club home page Giter Club logo

queue's Introduction

queue

任务队列 src 下 taskQueue 目录解析

config 读取配置文件

DeferConfig.java  读取配置文件的具体信息

conn 存储连接

Connect.java 连接的抽象接口
RedisConn.java  redis 的集体连接操作,以及相关的增删改查操作

entity 所用到的实体的信息

QueueBean.java 队列的实体
TaskBean.java 任务的实体

queue 任务队列的具体执行

ExecuteOne.java  一个任务队列是如何执行的(单个线程)
ExecuteTheadPool.java 任务队列执行的线程池

reflect 任务队列寻找需要执行的代码的反射

Reflect.java  反射的具体实现

task 执行任务

ExecuteTask.java 任务的执行,执行成功回调,执行失败回调

util 简单的帮助类

easyUtil.java 里面主要实现了Gson对json与对象的转换的方法

src 下 test 文件夹

Text.java 模拟任务

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.