- 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
- 虚词:副词、介词、连词、助词、拟声词、叹词。
n 名词
nr 人名
public class CacheOperations { | |
public void putOperations(Ignite ignite, String cache_name, int thread_num) { | |
TimeRecord tr = new TimeRecord(); | |
tr.reset(); | |
int step = 20000; | |
PutTask[] tasks = new PutTask[thread_num]; | |
for (int i = 0; i < thread_num; i++) { | |
tasks[i] = new PutTask(ignite, cache_name, step*(i-1), step*i); | |
tasks[i].start(); | |
} |
package example.protostuff; | |
/** | |
* wrapper is needed for interface and abstract modifier | |
* Created by jackeylv on 2016/7/14. | |
*/ | |
public class ClassWrapper { | |
private Object wrappedValue; | |
public ClassWrapper(){ |
package example.perf.protostuff; | |
/** | |
* Created by jackeylv on 2016/7/13. | |
*/ | |
public class Foo { | |
private Object object; | |
public Foo(){ | |
object = null; |
package example.ignite; | |
import com.tencent.perf.ignite.AlwaysTrueRemoteFilter; | |
import org.apache.ignite.Ignite; | |
import org.apache.ignite.IgniteCache; | |
import org.apache.ignite.IgniteLogger; | |
import org.apache.ignite.Ignition; | |
import org.apache.ignite.binary.BinaryBasicIdMapper; | |
import org.apache.ignite.binary.BinaryBasicNameMapper; | |
import org.apache.ignite.cache.query.ContinuousQuery; |