Class Deferrers.Deferred

java.lang.Object
com.igormaznitsa.meta.common.utils.Deferrers.Deferred
All Implemented Interfaces:
Serializable
Enclosing class:
Deferrers

@Weight(VARIABLE) public abstract static class Deferrers.Deferred extends Object implements Serializable
Class wrapping executeDeferred method and stack depth for action.
Since:
1.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • stackDepth

      private final int stackDepth
  • Constructor Details

  • Method Details

    • getStackDepth

      public int getStackDepth()
      Get the stack depth detected during object creation.
      Returns:
      the stack depth
      Since:
      1.0
    • executeDeferred

      public abstract void executeDeferred() throws Exception
      Execute call.
      Throws:
      Exception - it will be thrown for error.
      Since:
      1.0