spring schedule
spring-scheduler.xml文件内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean id="successRateSchedule" class="com.cmsz.visualization.schedule.SocketIOSuccessRateSchedule"></bean>
<bean id="socketIOScheduleTodayTotalData" class="com.cmsz.visualization.schedule.SocketIOScheduleTodayTotalData" />
<bean id="indexMainMapSchedule" class="com.cmsz.visualization.schedule.SocketIOMainMapSchedule"></bean>
<!-- 缴费详情任务 -->
<bean id="tMallHourDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOTMallHourSchedule" />
<bean id="tMallMonthDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOTMallMonthSchedule" />
<bean id="tMallYearDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOTMallYearSchedule" />
<bean id="moveHourDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOMoveHourSchedule" />
<bean id="moveMonthDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOMoveMonthSchedule" />
<bean id="moveYearDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOMoveYearSchedule" />
<bean id="bankHourDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOBankHourSchedule" />
<bean id="bankMonthDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOBankMonthSchedule" />
<bean id="bankYearDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOBankYearSchedule" />
<!-- 签解约近24小时 -->
<bean id="contractTerminaHourSchedule" class="com.cmsz.visualization.schedule.SocketIOContractTerminaHourSchedule" />
<!-- 签解约近一月 -->
<bean id="contractTerminaMonthSchedule" class="com.cmsz.visualization.schedule.SocketIOContractTerminaMonthSchedule"/>
<!-- 签解约近一年 -->
<bean id="contractTerminaYearSchedule" class="com.cmsz.visualization.schedule.SocketIOContractTerminaYearSchedule"/>
<!-- 签约交易量查询 -->
<bean id="contractMonthTotalSchedule" class="com.cmsz.visualization.schedule.SocketIOContractMonthTotalSchedule" />
<bean id="socketIOScheduleHealth" class="com.cmsz.visualization.schedule.SocketIOScheduleHealth"/>
<bean id="socketIOSchedulePerformance" class="com.cmsz.visualization.schedule.SocketIOSchedulePerformance" />
<!-- 定义目标bean和bean中的方法 -->
<bean id="successSocketioJob"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref local="successRateSchedule" />
</property>
<property name="targetMethod">
<!-- 要执行的方法名称 -->
<value>execute</value>
</property>
<!-- -->
<property name="concurrent" value="true" />
</bean>
<!--定义触发的时间 -->
<bean id="successSocketioCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="successSocketioJob" />
</property>
<!-- -->
<property name="cronExpression">
<value>0/3 * * * * ?</value>
</property>
</bean>
<!-- 管理触发器 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="successSocketioCron" />
<ref local="tradingVolumeTrigger" />
</list>
</property>
</bean>
<!-- 交易量任务 -->
<bean id="tradingVolumeSchedule"
class="com.cmsz.visualization.schedule.SocketIOTradingVolumeSchedule" />
<bean id="tradingVolumeScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="tradingVolumeSchedule" />
<property name="targetMethod" value="doTradingVolumeSchedule" />
<property name="concurrent" value="true" />
</bean>
<bean id="tradingVolumeTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="tradingVolumeScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0/3 * * * * ?</value>
</property>
</bean>
<!-- 天猫近24小时 -->
<bean id="tMallDayScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="tMallHourDetailSchedule" />
<property name="targetMethod" value="tMallDay" />
<property name="concurrent" value="true" />
</bean>
<bean id="tMallDayDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="tMallDayScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 1 0-23 * * ?</value>
</property>
</bean>
<!-- 天猫近一月 -->
<bean id="tMallMonthScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="tMallMonthDetailSchedule" />
<property name="targetMethod" value="tMallMonth" />
<property name="concurrent" value="true" />
</bean>
<bean id="tMallMonthDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="tMallMonthScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 */1 * ?</value>
</property>
</bean>
<!-- 天猫近一年 -->
<bean id="tMallYearScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="tMallYearDetailSchedule" />
<property name="targetMethod" value="tMallYear" />
<property name="concurrent" value="true" />
</bean>
<bean id="tMallYearDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="tMallYearScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 1 */1 ?</value>
</property>
</bean>
<!-- 移动商城近24小时 -->
<bean id="moveDayScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="moveHourDetailSchedule" />
<property name="targetMethod" value="moveDay" />
<property name="concurrent" value="true" />
</bean>
<bean id="moveDayDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="moveDayScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value> 0 1 0-23 * * ?</value>
</property>
</bean>
<!-- 移动商城近一月-->
<bean id="moveMonthScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="moveMonthDetailSchedule" />
<property name="targetMethod" value="moveMonth" />
<property name="concurrent" value="true" />
</bean>
<bean id="moveMonthDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="moveMonthScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 */1 * ?</value>
</property>
</bean>
<!-- 移动商城近一年 -->
<bean id="moveYearScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="moveYearDetailSchedule" />
<property name="targetMethod" value="moveYear" />
<property name="concurrent" value="true" />
</bean>
<bean id="moveYearDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="moveYearScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 1 */1 ?</value>
</property>
</bean>
<!-- 总对总近24小时 -->
<bean id="bankDayScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="bankHourDetailSchedule" />
<property name="targetMethod" value="bankDay" />
<property name="concurrent" value="true" />
</bean>
<bean id="bankDayDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="bankDayScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 1 0-23 * * ?</value>
</property>
</bean>
<!-- 总对总近一月 -->
<bean id="bankMonthScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="bankMonthDetailSchedule" />
<property name="targetMethod" value="bankMonth" />
<property name="concurrent" value="true" />
</bean>
<bean id="bankMonthDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="bankMonthScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 */1 * ?</value>
</property>
</bean>
<!-- 总对总近一年 -->
<bean id="bankYearScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="bankYearDetailSchedule" />
<property name="targetMethod" value="bankYear" />
<property name="concurrent" value="true" />
</bean>
<bean id="bankYearDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="bankYearScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 1 */1 ?</value>
</property>
</bean>
<!-- 天猫近24小时 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="tMallDayDetailTrigger" />
</list>
</property>
</bean>
<!-- 天猫近一月 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="tMallMonthDetailTrigger" />
</list>
</property>
</bean>
<!-- 天猫近一年 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="tMallYearDetailTrigger" />
</list>
</property>
</bean>
<!--移动商城近24小时 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="moveDayDetailTrigger" />
</list>
</property>
</bean>
<!-- 移动商城近一月 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="moveMonthDetailTrigger" />
</list>
</property>
</bean>
<!-- 移动商城近一年 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="moveYearDetailTrigger" />
</list>
</property>
</bean>
<!-- 总对总近24小时 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="bankDayDetailTrigger" />
</list>
</property>
</bean>
<!-- 总对总近一月 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="bankMonthDetailTrigger" />
</list>
</property>
</bean>
<!-- 总对总近一年 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="bankYearDetailTrigger" />
</list>
</property>
</bean>
<!-- 今日充值总笔数与今日成交总金额定义目标bean和bean中的方法 -->
<bean id="socketioJobTodayTotalData"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref local="socketIOScheduleTodayTotalData" />
</property>
<property name="targetMethod">
<!-- 要执行的方法名称 -->
<value>execute</value>
</property>
<property name="concurrent" value="true" />
</bean>
<!--今日充值总笔数与今日成交总金额定义触发的时间 -->
<bean id="socketioCronTodayTotalData" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="socketioJobTodayTotalData" />
</property>
<property name="cronExpression">
<value>0/1 * * * * ?</value>
</property>
</bean>
<!-- 今日充值总笔数与今日成交总金额管理触发器 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="socketioCronTodayTotalData" />
</list>
</property>
</bean>
<!-- 跌代二 运营分析定时器 -->
<bean id="operationTotalPushSchedule"
class="com.cmsz.visualization.schedule.SocketIOTradeDataTotalSchedule"></bean>
<!-- 定义目标bean和bean中的方法 -->
<bean id="operationTotalPushSocketioJob"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref local="operationTotalPushSchedule" />
</property>
<property name="targetMethod">
<!-- 要执行的方法名称 -->
<value>operationTotalPush</value>
</property>
<!-- <property name="concurrent" value="true" /> -->
</bean>
<!--定义触发的时间 -->
<bean id="operationTotalPushSocketioCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="operationTotalPushSocketioJob" />
</property>
<property name="cronExpression">
<value>5 0 0-23 * * ?</value>
</property>
</bean>
<!-- 管理触发器 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="operationTotalPushSocketioCron" />
</list>
</property>
</bean>
<!--迭代三首页健康度 -->
<!--健康度定义目标bean和bean中的方法 -->
<bean id="socketioJobHealth" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject"> <ref local="socketIOScheduleHealth" /> </property>
<property name="targetMethod">
<!-- 要执行的方法名称 -->
<value>execute</value>
</property>
<property name="concurrent" value="true" />
</bean>
<!--健康度定义触发的时间 -->
<bean id="socketioCronHealth" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="socketioJobHealth" />
</property>
<property name="cronExpression">
<value>0/5 * * * * ?</value>
</property>
</bean>
<!--健康度管理触发器 -->
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list> <ref local="socketioCronHealth" /> </list>
</property>
</bean>
<!--迭代三首页性能指标 -->
<!--性能指标定义目标bean和bean中的方法 -->
<bean id="socketioJobPerformance"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref local="socketIOSchedulePerformance" />
</property>
<property name="targetMethod">
<value>execute</value>
</property>
<property name="concurrent" value="true" />
</bean>
<!--性能指标定义触发的时间 -->
<bean id="socketioCronPerformance" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="socketioJobPerformance" />
</property>
<property name="cronExpression">
<value>0/5 * * * * ?</value>
</property>
</bean>
<!--性能指标管理触发器 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="socketioCronPerformance" />
</list>
</property>
</bean>
<!-- indexMainMap定义目标bean和bean中的方法 -->
<bean id="indexMainMapSocketioJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="indexMainMapSchedule" />
<property name="targetMethod" value="mainMapPush" />
<property name="concurrent" value="true" />
</bean>
<!-- indexMainMap定义触发的时间 -->
<bean id="indexMainMapSocketioCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="indexMainMapSocketioJob" />
<property name="cronExpression">
<value>0/5 * * * * ?</value>
</property>
</bean>
<!-- indexMainMap管理触发器 -->
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="indexMainMapSocketioCron" />
</list>
</property>
</bean>
<!-- 签解约近24小时 -->
<bean id="contractTerminaHourJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="contractTerminaHourSchedule" />
<property name="targetMethod" value="execute" />
<property name="concurrent" value="true" />
</bean>
<bean id="contractTerminaHourCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="contractTerminaHourJob" />
<property name="cronExpression">
<!-- 秒,分,小时,天,月 -->
<value>0 1 0-23 * * ?</value>
</property>
</bean>
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="contractTerminaHourCron" />
</list>
</property>
</bean>
<!-- 签解约近一月 -->
<bean id="contractTerminaMonthJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="contractTerminaMonthSchedule" />
<property name="targetMethod" value="execute" />
<property name="concurrent" value="true" />
</bean>
<bean id="contractTerminaMonthCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="contractTerminaMonthJob" />
<property name="cronExpression">
<value>0 0 0 */1 * ?</value>
</property>
</bean>
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="contractTerminaMonthCron"/>
</list>
</property>
</bean>
<!-- 签解约近一年 -->
<bean id="contractTerminaYearJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="contractTerminaYearSchedule"></property>
<property name="targetMethod" value="execute"></property>
<property name="concurrent" value="true" />
</bean>
<bean id="contractTerminaYearCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="contractTerminaYearJob" />
<property name="cronExpression">
<value>0 1 0 1 */1 ?</value>
<!-- <value>0/10 * * * * ?</value> -->
</property>
</bean>
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="contractTerminaYearCron"/>
</list>
</property>
</bean>
<bean id="contractTotalMonthJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="contractMonthTotalSchedule" />
<property name="targetMethod" value="execute" />
<property name="concurrent" value="true" />
</bean>
<bean id="contractTotalMonthCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="contractTotalMonthJob" />
<property name="cronExpression">
<!-- 秒,分,小时,天,月 -->
<value>0 0 0 */1 * ?</value>
<!-- <value>0/3 * * * * ?</value>-->
</property>
</bean>
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="contractTotalMonthCron" />
</list>
</property>
</bean>
</beans>
spring schedule的更多相关文章
- SpringBoot之旅 -- 定时任务两种(Spring Schedule 与 Quartz 整合 )实现
相关文章 Spring Boot 相关文章目录 前言 最近在项目中使用到定时任务,之前一直都是使用Quartz 来实现,最近看Spring 基础发现其实Spring 提供 Spring Schedul ...
- spring schedule定时任务(一):注解的方式
我所知道的java定时任务的几种常用方式: 1.spring schedule注解的方式: 2.spring schedule配置文件的方式: 3.java类继承TimerTask: 第一种方式的实现 ...
- Spring Schedule整合配置
Spring Schedule是spring提供的任务调度框架.很简单,也很强大,简单是因为只需要在spring配置文件中写一行代码配置一下.就ok,强大是因为调度表达式.这里会给出一个网站,在线生成 ...
- SpringBoot系列:Spring Boot定时任务Spring Schedule
Spring Schedule是Spring提供的定时任务框架,相较于Quartz,Schedule更加简单易用,在中小型应用中,对于大部分需求,Schedule都可以胜任. 一.Spring Sch ...
- 任务调度(02)Spring Schedule
任务调度(02)Spring Schedule [toc] Spring 3.0 提供两种任务调度方式:一是定时任务调度:二是异步任务调度.这两种任务调度方式都是基于 JUC 实现的,是一种非常轻量级 ...
- Spring Schedule 实现定时任务
很多时候我们都需要为系统建立一个定时任务来帮我们做一些事情,SpringBoot 已经帮我们实现好了一个,我们只需要直接使用即可,当然你也可以不用 SpringBoot 自带的定时任务,整合 Quar ...
- Spring Schedule 任务调度实现
我们都知道任务调度可以用Quartz,但对于简单的定时任务,可以直接用Spring内置的Schedule来实现.可以由两种方式,注释+XML配置 注解方式: 注解也要先在sping.xml配置文件中配 ...
- spring schedule定时任务(二):配置文件的方式
接着上一篇,这里使用spring配置文件的方式生成spring定时任务. 1.相应的web.xml没有什么变化,因此便不再罗列.同样的,相应的java代码业务逻辑改动也不大,只是在原来的基础上去掉@C ...
- Spring Schedule实现定时任务
applicationContext.xml 1. 增加配置 <!-- 开启定时任务 --> <task:annotation-driven /> <!-- 开启注解 - ...
随机推荐
- 搭建vpn
之前买的vpn,对linux支持很不友好,家里装的又是ubuntu.突然一想自己买个vps搭个vpn. 先买了host1plus的vps,一个月30块,配了两天,pptp,l2tp,shadow so ...
- DEDECMS里面DEDE函数解析
下面来解说下DEDECMS织梦CMS模板里面的函数说明 在文件include/inc_function.php里面 GetCurUrl() 获贴切前的脚本的URL GetAlabNum($str) 把 ...
- tomcat启动闪退
TOMCAT启动时报错:the CATALINA_HOME environment variable is not defined correctly 运行tomcat/bin目录下的startup. ...
- prim算法
最小生成树 一个有 n 个结点的连通图的生成树是原图的极小连通子图,且包含原图中的所有 n 个结点,并且有保持图连通的最少的边.最小生成树可以用kruskal(克鲁斯卡尔)算法或prim(普里姆)算法 ...
- Python多行注释
由于Python的注释只有针对于单行的注释(用#),多行注释时很不方便(要想多行注释只能每行代码前面都加上#).在网上看到一个Python的多行注释方法,分享给大家,其实很简单的,就是使用一对三个双引 ...
- 【iCore3 双核心板_FPGA】例程十三:FSMC总线通信实验——复用地址模式
实验指导书及代码包下载: http://pan.baidu.com/s/1nuYpI8x iCore3 购买链接: https://item.taobao.com/item.htm?id=524229 ...
- js中的text(),html() ,val()的区别
js中的text(),html() ,val()的区别 text(),html() ,val()三个方法用于html元素的存值和取值,但是他们各有特点,text()用于html元素文本内容的存取,ht ...
- js循环的总结
js原生的循环有两种,一般的for循环和for...in循环.还有一种常用jQuery.each()循环. 一. js原生循环 a. for循环,代码如下: var myArray = [1,2,3] ...
- Java网络通信初步认知
本文转载自:http://wing011203.cnblogs.com/ 在这篇文章里,我们主要讨论如何使用Java实现网络通信,包括TCP通信.UDP通信.多播以及NIO. TCP连接 TCP的基础 ...
- (转)php自己创建框架
前言 说到写PHP的MVC框架,大家想到的第一个词--“造轮子”,是的,一个还没有深厚功力的程序员,写出的PHP框架肯定不如那些出自大神们之手.经过时间和各种项目考验的框架.但我还是准备并且这么做了, ...