AsyncInfo Class
Provides methods to get the current stack depth, maximum stack depth, and the minimum queueable delay for Queueable transactions, and to determine if maximum stack depth is set.
The following are methods for AsyncInfo.
-
getCurrentQueueableStackDepth()
Get the current queueable stack depth for queueable transactions.
-
getMaximumQueueableStackDepth()
Get the maximum queueable stack depth for queueable transactions.
-
getMinimumQueueableDelayInMinutes()
Get the minimum queueable delay for queueable transactions (in minutes).
-
Determine if maximum stack depth is set for your queueable requests.
Get the current queueable stack depth for queueable transactions.
public static Integer getCurrentQueueableStackDepth()
Type: Integer
Get the maximum queueable stack depth for queueable transactions.
public static Integer getMaximumQueueableStackDepth()
Type: Integer
Get the minimum queueable delay for queueable transactions (in minutes).
public static Integer getMinimumQueueableDelayInMinutes()
Type: Integer
Returns null if no delay is defined.
Determine if maximum stack depth is set for your queueable requests.
public static Boolean hasMaxStackDepth()
Type: Boolean