年少轻狂 - 难得时间对,人对;一转身,一辈子。
firecool · 共 46 篇文章
Chapter 7. Scaling and Parallel Processing
Many batch processing problems can be solved with single threaded, single process jobs, so it is always a good idea to properly check if that meets your needs before thinking about more complex implementations. Measure the performance of a realistic job and see if the simplest implementation meets …
2014-01-27 10:41 · Spring Batch · 评论(0)
Chapter 6. ItemReaders and ItemWriters
All batch processing can be described in its most simple form as reading in large amounts of data, performing some type of calculation or transformation, and writing the result out. Spring Batch provides three key interfaces to help perform bulk reading and writing: ItemReader , ItemProcessor and I…
2014-01-26 16:54 · Spring Batch · 评论(0)
Chapter 5. Configuring a Step
Spring Batch 2.1.8 中文文档(一) Spring Batch 2.1.8 中文文档(二) Spring Batch 2.1.8 中文文档(三) Spring Batch 2.1.8 中文文档(四) Spring Batch 2.1.8 中文文档(五) Spring Batch 2.1.8 中文文档(六) Spring Batch 2.1.8 中文文档(七) Spring Batch 2.1.8 中文文档(八) Spring Batch 2.1.8 中文文档(九) Chapter 5. Configuring a Step 如在批量域名语言章节中讨论的,一个Step类是指封装…
2014-01-21 13:03 · Spring Batch · 评论(0)
设计模式备忘录
创建型模式 1.抽象工厂模式 AbstractFactory 2.建造者模式 Builder 封装一个对象的构建过程,并允许按步骤构造。 3.工厂方法模式 Factory Method 4.原型模式 Prototype 5.单例模式 Singleton 结构型模式 1.适配器模式 Adapter 将一个类的接口,转换成客户期望的另一个接口。适配器让原本接口不兼容的类可以合作无间。 2.桥接模式 Bridge 不只改变你的实现,也改变你的抽象。 3.组合模式 Composite 允许你将对象组合成树状接口来表现“整体/部分”层次结构。组合能让客户以一致的方式处理个别对象以及对象组合。 4.装饰…
2012-02-27 23:11 · java · 评论(0)
Root软件下载地址
http://android.modaco.com/content/htc-legend-legend-modaco-com/307487/24-may-r4-htc-legend-rooting-guide-now-with-1-31-x/
2010-11-14 18:01 · 评论(0)
DB2导入导出
在db2中导入导出表 (1) 导出表结构并且数据是二进制格式:export to filename.ixf of ixf select * from tableName where condition; 导出的数据为二进制格式,不能用文本文本编辑器进行编辑。 (2) 只导出表中的数据,而不导出表结构的语句; export to filename.del of del select * from taablename where conditon;此语句不导出表的格式,并且能用 记事本等asc码编辑工具进行直接编辑。 2、在db2中想表中导入数据: (1) 向表中插入带结构的数据,导入表结构之…
2010-04-08 22:36 · DB2 · 评论(0)
JAVA乱码解决
因为ubuntu中的系统默认字体变成了ttc sudo ln -s /usr/share/fonts/truetype/arphic/uming.ttc /usr/share/fonts/truetype/arphic/uming.ttf
2009-10-29 17:38 · ubuntu · 评论(0)
chrome 浏览器安装
加源: 代码: deb http://dl.google.com/linux/deb/ stable main #Google 然后 代码: sudo apt-get update sudo apt-get install google-chrome-unstable
2009-10-28 20:10 · ubuntu · 评论(0)
Ubuntu中修改域/工作组
Windows中修改这些信息很容易,Ubuntu中就复杂得多。下面是从网上找到的方法。 sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup # 备份配置文件 sudo gedit /etc/samba/smb.conf 找到这行: workgroup = MSHOME 用以下行替换: workgroup = new_domain_or_workgroup 保存编辑的文件。 sudo testparm sudo /etc/init.d/samba restart
2009-10-09 17:31 · ubuntu · 评论(0)
UBUNTU9.10的更新源
台湾 代码: deb http://tw.archive.ubuntu.com/ubuntu/ karmic main universe restricted multiverse deb http://tw.archive.ubuntu.com/ubuntu/ karmic-updates universe main multiverse restricted deb http://tw.archive.ubuntu.com/ubuntu/ karmic-proposed universe main multiverse restricted deb http://tw.archive.u…
2009-10-02 11:04 · ubuntu · 评论(0)
ubuntu9.10(karmic)修复Windows系统引导
ubuntu9.10使用了grub2(不确定是不是2),与以往不同新版本的 grub 的引导配置文件不再是menu.lst而是/boot/ grub / grub .cfg ,这个文件默认是只读的,因此在修改之前需要先将其改为可写。 root@ptubuntu:/home/ptubuntu# chmod +w /boot/ grub / grub .cfg 然后就可以修改了。给其中加上如下内容即可 root@ptubuntu:/home/ptubuntu# vi /boot/ grub / grub .cfg 添加后内容如下: BEGIN /etc/ grub .d/00_header se…
2009-10-01 14:50 · ubuntu · 评论(0)
文件拷贝工具
package jp.swtech; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileInputStream; import java.io.RandomAccessFile; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.cha…
2009-09-18 18:45 · java · 评论(0)
随机生成指定长度的全半角日文假名
package cn.com.oneslife; import java.util.Random; public class RandomUtil { static { StringBuilder sb = new StringBuilder(); for(char c = (char)0x3041; c < (char)0x3094; c++){ sb.append(c); } JP_SBC_HIRAGAN = sb.toString(); sb = new StringBuilder(); for(char c = (char)0x30A1; c < (char)0x30F6; c++)…
2009-09-16 21:48 · java · 评论(0)