public class RepoStat extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
RepoStat.DaemonThreadFactory |
Modifier and Type | Field and Description |
---|---|
protected boolean |
includeBlob |
protected RepoStatInfo |
info |
protected int |
nbThreads |
protected ThreadPoolExecutor |
pool |
protected String |
repoName |
Constructor and Description |
---|
RepoStat(String repoName,
int nbThreads,
boolean includeBlob) |
Modifier and Type | Method and Description |
---|---|
void |
exec(StatsTask task) |
RepoStatInfo |
getInfo() |
protected boolean |
isPoolFull() |
boolean |
isRunning() |
void |
run(DocumentRef root) |
protected final ThreadPoolExecutor pool
protected int nbThreads
protected final boolean includeBlob
protected RepoStatInfo info
public void run(DocumentRef root)
protected boolean isPoolFull()
public RepoStatInfo getInfo()
public boolean isRunning()
Copyright © 2018 Nuxeo. All rights reserved.