public class HadoopCountersImpl extends Object implements HadoopCounters, Externalizable
| Constructor and Description |
|---|
HadoopCountersImpl()
Default constructor.
|
HadoopCountersImpl(HadoopCounters cntrs)
Copy constructor.
|
HadoopCountersImpl(Iterable<HadoopCounter> cntrs)
Creates new instance that contain given counters.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<HadoopCounter> |
all() |
<T extends HadoopCounter> |
counter(String grp,
String name,
Class<T> cls) |
boolean |
equals(Object o) |
int |
hashCode() |
void |
merge(HadoopCounters other) |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public HadoopCountersImpl()
public HadoopCountersImpl(Iterable<HadoopCounter> cntrs)
cntrs - Counters to store.public HadoopCountersImpl(HadoopCounters cntrs)
cntrs - Counters to copy.public <T extends HadoopCounter> T counter(String grp, String name, Class<T> cls)
counter in interface HadoopCounterspublic Collection<HadoopCounter> all()
all in interface HadoopCounterspublic void merge(HadoopCounters other)
merge in interface HadoopCounterspublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019