| 限定符和类型 | 字段和说明 |
|---|---|
protected com.sleepycat.je.DatabaseEntry |
key |
static org.slf4j.Logger |
LOG |
protected int |
maxExecuteCount |
protected int |
topN |
protected int |
totalGenerate |
protected com.sleepycat.je.DatabaseEntry |
value |
| 构造器和说明 |
|---|
BerkeleyGenerator(com.sleepycat.je.Environment env) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
int |
getMaxExecuteCount() |
int |
getTopN() |
int |
getTotalGenerate() |
CrawlDatum |
next() |
void |
open() |
void |
setMaxExecuteCount(int maxExecuteCount) |
void |
setTopN(int topN) |
public static final org.slf4j.Logger LOG
protected int totalGenerate
protected int topN
protected int maxExecuteCount
protected com.sleepycat.je.DatabaseEntry key
protected com.sleepycat.je.DatabaseEntry value
public CrawlDatum next()
public int getTotalGenerate()
getTotalGenerate 在接口中 Generatorpublic int getTopN()
public int getMaxExecuteCount()
public void setMaxExecuteCount(int maxExecuteCount)
setMaxExecuteCount 在接口中 GeneratorCopyright © 2017. All Rights Reserved.