public class VisorIgfsProfilerEntry extends VisorDataTransferObject
Modifier and Type | Field and Description |
---|---|
static Comparator<VisorIgfsProfilerEntry> |
ENTRY_TIMESTAMP_COMPARATOR
Timestamp comparator.
|
Constructor and Description |
---|
VisorIgfsProfilerEntry()
Default constructor.
|
VisorIgfsProfilerEntry(String path,
long ts,
IgfsMode mode,
long size,
long bytesRead,
long readTime,
long userReadTime,
long bytesWritten,
long writeTime,
long userWriteTime,
VisorIgfsProfilerUniformityCounters counters)
Create data transfer object with given parameters.
|
Modifier and Type | Method and Description |
---|---|
long |
getBytesRead() |
long |
getBytesWritten() |
VisorIgfsProfilerUniformityCounters |
getCounters() |
IgfsMode |
getMode() |
String |
getPath() |
long |
getReadSpeed() |
long |
getReadTime() |
long |
getSize() |
long |
getTimestamp() |
double |
getUniformity() |
long |
getUserReadTime() |
long |
getUserWriteTime() |
long |
getWriteSpeed() |
long |
getWriteTime() |
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, writeExternal
public static final Comparator<VisorIgfsProfilerEntry> ENTRY_TIMESTAMP_COMPARATOR
public VisorIgfsProfilerEntry()
public VisorIgfsProfilerEntry(String path, long ts, IgfsMode mode, long size, long bytesRead, long readTime, long userReadTime, long bytesWritten, long writeTime, long userWriteTime, VisorIgfsProfilerUniformityCounters counters)
public String getPath()
public long getTimestamp()
public IgfsMode getMode()
public long getSize()
public long getBytesRead()
public long getReadTime()
public long getUserReadTime()
public long getBytesWritten()
public long getWriteTime()
public long getUserWriteTime()
public double getUniformity()
public VisorIgfsProfilerUniformityCounters getCounters()
public long getReadSpeed()
-1
if speed not available.public long getWriteSpeed()
-1
if speed not available.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorDataTransferObject
out
- 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 VisorDataTransferObject
protoVer
- 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.0.0 Release Date : April 30 2017