public class VisorIgfsProfilerUniformityCounters extends VisorDataTransferObject
V1, V2| Constructor and Description |
|---|
VisorIgfsProfilerUniformityCounters()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(VisorIgfsProfilerUniformityCounters other)
Add given counters.
|
double |
calc()
Calculate uniformity as standard deviation.
|
void |
increment(long pos,
long len)
Increment counters by given pos and length.
|
void |
invalidate(long newFileSize)
Check if counters and blockSize should be adjusted according to file size.
|
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorIgfsProfilerUniformityCounters()
public void invalidate(long newFileSize)
newFileSize - New size of file.public void increment(long pos,
long len)
pos - Position in file.len - Read data length.public void aggregate(VisorIgfsProfilerUniformityCounters other)
other - Counters to add.public double calc()
0..1 range.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017