public class Counters extends Configurable
| Modifier and Type | Class and Description |
|---|---|
static class |
Counters.ReservedCounterNames |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Long> |
counterValues |
protected com.sleepycat.je.Environment |
env |
protected Object |
mutex |
protected com.sleepycat.je.Database |
statisticsDB |
config| Constructor and Description |
|---|
Counters(com.sleepycat.je.Environment env,
CrawlConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getValue(String name) |
void |
increment(String name) |
void |
increment(String name,
long addition) |
void |
setValue(String name,
long value) |
getConfigprotected com.sleepycat.je.Database statisticsDB
protected com.sleepycat.je.Environment env
protected final Object mutex
public Counters(com.sleepycat.je.Environment env,
CrawlConfig config)
Copyright © 2015. All rights reserved.