com.jniwrapper.win32.process
Class IOCounters

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.process.IOCounters
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class IOCounters
extends com.jniwrapper.Structure

The IOCounters class represents the IO_COUNTERS structure. It contains I/O accounting information for a process or a job object.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
IOCounters()
           
IOCounters(IOCounters that)
           
 
Method Summary
 java.lang.Object clone()
           
 long getOtherOperationCount()
          Returns the number of I/O operations performed, other than read and write operations.
 long getOtherTransferCount()
          Returns the number of bytes transferred during operations other than read and write operations.
 long getReadOperationCount()
          Returns the number of read operations performed.
 long getReadTransferCount()
          Returns the number of bytes read.
 long getWriteOperationCount()
          Returns the number of write operations performed.
 long getWriteTransferCount()
          Returns the number of bytes written.
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOCounters

public IOCounters()

IOCounters

public IOCounters(IOCounters that)
Method Detail

getReadOperationCount

public long getReadOperationCount()
Returns the number of read operations performed.

Returns:
the number of read operations performed.

getWriteOperationCount

public long getWriteOperationCount()
Returns the number of write operations performed.

Returns:
the number of write operations performed.

getOtherOperationCount

public long getOtherOperationCount()
Returns the number of I/O operations performed, other than read and write operations.

Returns:
number of I/O operations performed, other than read and write operations.

getReadTransferCount

public long getReadTransferCount()
Returns the number of bytes read.

Returns:
the number of bytes read.

getWriteTransferCount

public long getWriteTransferCount()
Returns the number of bytes written.

Returns:
the number of bytes written.

getOtherTransferCount

public long getOtherTransferCount()
Returns the number of bytes transferred during operations other than read and write operations.

Returns:
the number of bytes transferred during operations other than read and write operations.

clone

public java.lang.Object clone()
Overrides:
clone in class com.jniwrapper.Structure