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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
private final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Execute call.int
Get the stack depth detected during object creation.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
stackDepth
private final int stackDepth
-
-
Constructor Details
-
Deferred
The Constructor.- Since:
- 1.0
-
-
Method Details
-
getStackDepth
public int getStackDepth()Get the stack depth detected during object creation.- Returns:
- the stack depth
- Since:
- 1.0
-
executeDeferred
Execute call.- Throws:
Exception
- it will be thrown for error.- Since:
- 1.0
-