public abstract class HadoopCounterAdapter extends Object implements HadoopCounter, Externalizable
| Modifier | Constructor and Description |
|---|---|
protected |
HadoopCounterAdapter()
Default constructor required by
Externalizable. |
protected |
HadoopCounterAdapter(String grp,
String name)
Creates new counter with given group and name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
group() |
int |
hashCode() |
String |
name() |
void |
readExternal(ObjectInput in) |
protected abstract void |
readValue(ObjectInput in)
Read value of this counter from input.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
protected abstract void |
writeValue(ObjectOutput out)
Writes value of this counter to output.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitmergeprotected HadoopCounterAdapter()
Externalizable.public String name()
name in interface HadoopCounter@Nullable public String group()
group in interface HadoopCounterpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionprotected abstract void writeValue(ObjectOutput out) throws IOException
out - Output.IOException - If failed.protected abstract void readValue(ObjectInput in) throws IOException
in - Input.IOException - If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019