Class ContinuationStack

java.lang.Object
rife.continuations.ContinuationStack

public class ContinuationStack extends Object
[PRIVATE AND UNSUPPORTED] Contains the local state of a continuation.

This needs to be publicly accessible for the instrumented code to be able to interact with it, but it's not supposed to be used directly.

Since:
1.0
  • Method Details

    • getType

      public int getType(int index)
    • popInt

      public int popInt()
    • popLong

      public long popLong()
    • popFloat

      public float popFloat()
    • popDouble

      public double popDouble()
    • popReference

      public Object popReference()
    • getInt

      public int getInt(int index)
    • getLong

      public long getLong(int index)
    • getFloat

      public float getFloat(int index)
    • getDouble

      public double getDouble(int index)
    • getReference

      public Object getReference(int index)
    • getReferenceStackSize

      public int getReferenceStackSize()
    • incrementInt

      public void incrementInt(int index, int increment)
    • pushInt

      public void pushInt(int value)
    • pushLong

      public void pushLong(long value)
    • pushFloat

      public void pushFloat(float value)
    • pushDouble

      public void pushDouble(double value)
    • pushReference

      public void pushReference(Object value)
    • storeInt

      public void storeInt(int index, int value)
    • storeLong

      public void storeLong(int index, long value)
    • storeFloat

      public void storeFloat(int index, float value)
    • storeDouble

      public void storeDouble(int index, double value)
    • storeReference

      public void storeReference(int index, Object value)
    • outputState

      public void outputState()
    • clone

      public ContinuationStack clone(Object continuableInstance) throws CloneNotSupportedException
      Throws:
      CloneNotSupportedException