com.sparsity.dex.io
Class TypeLoaderEvent

java.lang.Object
  extended by com.sparsity.dex.io.TypeLoaderEvent

public class TypeLoaderEvent
extends java.lang.Object

Provides information about the progress of a type load process.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Method Summary
 long getCount()
          Gets the current number of objects created.
 int getPartition()
          Gets the current partition.
 int getPhase()
          Gets the current phase.
 int getTotalPartitions()
          Gets the total number of partitions.
 int getTotalPartitionSteps()
          Gets the total number of steps in the current partition.
 int getTotalPhases()
          Gets the total number of phases.
 int getTypeId()
          Gets the type identifier.
 boolean isLast()
          Gets if this is the last event or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTotalPhases

public int getTotalPhases()
Gets the total number of phases.

Returns:
The total number of phases.

getCount

public long getCount()
Gets the current number of objects created.

Returns:
The current number of objects created.

getTotalPartitionSteps

public int getTotalPartitionSteps()
Gets the total number of steps in the current partition.

Returns:
The total number steps in the current partition.

isLast

public boolean isLast()
Gets if this is the last event or not.

Returns:
TRUE if this is the last event, FALSE otherwise.

getPartition

public int getPartition()
Gets the current partition.

Returns:
The current partition.

getTypeId

public int getTypeId()
Gets the type identifier.

Returns:
The type identifier.

getTotalPartitions

public int getTotalPartitions()
Gets the total number of partitions.

Returns:
The total number of partitions.

getPhase

public int getPhase()
Gets the current phase.

Returns:
The current phase.