Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.ThreadReport
Source: src/com/multiversesocial/hyperview/ThreadReport.java

ThreadReport

HyperView V3.2 — interface
version V3.2 interface

Summary

This interface is to allow NetXec to quickly glean various thread info. If requires the Thread to change the Value of it's running state (runState.) This value is stored in RunInfoConstants

Source file: ThreadReport.java

Hierarchy

Extends: none

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public abstract interface ThreadReport

Declared in src/com/multiversesocial/hyperview/ThreadReport.java, lines 6–21. 10 field(s), 0 constructor(s), 2 method(s). Every member has an anchor you can link to (e.g. ThreadReport.html#<id>).

Fields (10)

DeclarationValue / initializerDescriptionSource
public static final int iteration= 0 (constant)No comment in source; not referenced by name in this type’s methods.line 16
public static final long lastRun= 0 (constant)If Report Bit setline 11
public static final long now= 0 (constant)Time of last runline 9
public static final int runFlags= 0 (constant)No comment in source; name appears in 7 other source file(s): CollisionManager, HyperConnectionHandler, HyperDisconnectHandler, HyperKeyboard ….line 14
public static final RunInfo runInfo= nullNo comment in source; name appears in 12 other source file(s): CollisionManager, HyperConnectionHandler, HyperExternalConnectionHandler, HyperKeyboard ….line 8
public static final long runLag= 0 (constant)internal cpu utilization/busy computation.line 10
public static final int runState= 15 (constant)
source: RunInfoConstants.RT_INIT
No comment in source; name appears in 13 other source file(s): CollisionManager, HyperConnectionHandler, HyperExternalConnectionHandler, HyperKeyboard ….line 15
public static final long startTime= 0 (constant)No comment in source; name appears in 15 other source file(s): Asteroids, CollisionManager, HyperChannel, HyperConnectionHandler ….line 12
public static final Thread task= nullNo comment in source; not referenced by name in this type’s methods.line 17
public static final int waitTime= 0 (constant)preemption millisline 13

Constructors (0)

None (interface).

Methods (2)

SignatureDescriptionSource
static { … }Implicit default constructor generated by the compiler (not written in the source).implicit
public abstract RunInfo getRunInfo()Interface method (no body); implemented by classes that implement this interface.line 18

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

implements — CollisionManager.java, line 5

    5  public class CollisionManager implements Runnable,HyperConstants,ThreadReport
    6  {

implements — HyperExternalConnectionHandler.java, line 12

   12  public class HyperExternalConnectionHandler implements Runnable,ThreadReport
   13  {
Hits--