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 String repoName
protected final boolean includeBlob
protected RepoStatInfo info
public RepoStat(String repoName, int nbThreads, boolean includeBlob)
public void exec(StatsTask task)
public void run(DocumentRef root) throws Exception
Exceptionprotected boolean isPoolFull()
public RepoStatInfo getInfo()
public boolean isRunning()
Copyright © 2019 Nuxeo SA. All rights reserved.