public class ContextStatistics extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
countCreatedContexts
The number of created contexts
|
int |
countModifiedContexts |
int |
countProcessedContexts
the number of times a context has been processed
|
long |
timeContextProcess
the time spent on processing
|
| Constructor and Description |
|---|
ContextStatistics() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ContextStatistics stats) |
void |
check(org.apache.log4j.Logger logger) |
void |
print(org.apache.log4j.Logger logger,
org.apache.log4j.Priority level) |
void |
reset()
Reset all timers to zero.
|
public int countCreatedContexts
public int countProcessedContexts
public int countModifiedContexts
public long timeContextProcess
public void reset()
public void add(ContextStatistics stats)
public void print(org.apache.log4j.Logger logger,
org.apache.log4j.Priority level)
public void check(org.apache.log4j.Logger logger)
Copyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.