public class NodeUsersCollector extends Object implements CallableNodeUsersCollector
| Modifier and Type | Class and Description |
|---|---|
class |
NodeUsersCollector.ProcessInfo |
class |
NodeUsersCollector.RunningProcess |
| Constructor and Description |
|---|
NodeUsersCollector(Agent agent,
org.apache.uima.ducc.common.utils.DuccLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
TreeMap<String,org.apache.uima.ducc.common.node.metrics.NodeUsersInfo> |
call() |
boolean |
excludeProcess(String process)
Returns true if a given process belongs to an exclusion list defined in ducc.properties.
|
boolean |
excludeUser(String userId)
Returns true if a given userId belongs to an exclusion list defined in ducc.properties.
|
static void |
main(String[] args) |
public NodeUsersCollector(Agent agent, org.apache.uima.ducc.common.utils.DuccLogger logger)
public boolean excludeUser(String userId)
userId - public boolean excludeProcess(String process)
process - public TreeMap<String,org.apache.uima.ducc.common.node.metrics.NodeUsersInfo> call() throws Exception
public static void main(String[] args)
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.