Class Deferrers.Deferred
- java.lang.Object
-
- com.igormaznitsa.meta.common.utils.Deferrers.Deferred
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Deferrers
@Weight(VARIABLE) public abstract static class Deferrers.Deferred extends java.lang.Object implements java.io.Serializable
Class wrapping executeDeferred method and stack depth for action.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
private int
stackDepth
-
Constructor Summary
Constructors Constructor Description Deferred()
The Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
executeDeferred()
Execute call.int
getStackDepth()
Get the stack depth detected during object creation.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
stackDepth
private final int stackDepth
-
-
Method Detail
-
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 java.lang.Exception
Execute call.- Throws:
java.lang.Exception
- it will be thrown for error.- Since:
- 1.0
-
-