`
文章列表

NestedIOException

/** * Copyright (c) 2008 Greg Whalin * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the BSD license * * This library is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied ...

SockIOPool

/** * Copyright (c) 2008 Greg Whalin * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the BSD license * * This library is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied ...
package com.yulong.memcached; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import com.yulong.businessCache.UserCache; import com.yulong.businessCache.UserRushCache; import com.yulong.businessCache.vo.Address; public class Tes ...
package com.yulong.memcached; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import com.yulong.businessCache.UserCache; import com.yulong.businessCache.UserRushCache; import com.yulong.businessCache.vo.Address; public class Tes ...

MemcachedService

package com.yulong.memcached.service; import java.io.InputStream; import java.net.URL; import java.util.Date; import java.util.LinkedHashMap; import java.util.Map; import java.util.Properties; import org.apache.log4j.Logger; import com.danga.MemCached.MemCachedClient; import com.danga.MemCached.So ...

MemcachedBench

/** * Copyright (c) 2008 Greg Whalin * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the BSD license * * This library is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied ...

MemcachedTest

/** * Copyright (c) 2008 Greg Whalin * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the BSD license * * This library is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied ...

TestMemcached

/** * Copyright (c) 2008 Greg Whalin * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the BSD license * * This library is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied ...

LucenePool

package com.yulong.lucene.core; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.apache.lucene.index.CorruptIndexException; import org.apache.lucene.index.IndexWriter; import org.apache.lucene.store.Directory; imp ...

LuceneContacts

package com.yulong.lucene.core; import net.teamhot.lucene.ThesaurusAnalyzer; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.cjk.CJKAnalyzer; import org.apache.lucene.analysis.cn.ChineseAnalyzer; import org.wltea.analyzer.lucene.IKAnalyzer; public class LuceneConta ...

WriteLucene

package com.yulong.lucene.biz; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.apache.lucene.index.IndexWriter; import com.yulong.lucene.core.Luce ...
package com.yulong.lucene.biz; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.apache.log4j.Logger; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; ...

RebuildLucene

package com.yulong.lucene.biz; import java.io.IOException; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.apache.lucene.index.CorruptIndexExceptio ...

MoveLuceneSmall

package com.yulong.lucene.biz; import java.io.File; import org.apache.lucene.index.IndexWriter; import org.apache.lucene.store.Directory; import org.apache.lucene.store.FSDirectory; import com.yulong.lucene.core.LuceneContacts; import com.yulong.lucene.util.RequestUtil; /** * LUCENE小文件移动到大文件中的任 ...

MoveLuceneRebuild

package com.yulong.lucene.biz; import java.io.File; import java.io.IOException; import org.apache.lucene.index.CorruptIndexException; import org.apache.lucene.index.IndexWriter; import org.apache.lucene.store.Directory; import org.apache.lucene.store.FSDirectory; import com.yulong.lucene.core.Luce ...
Global site tag (gtag.js) - Google Analytics