public abstract class AzureTaskContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AzureTaskContext.Node |
static class |
AzureTaskContext.Snapshot |
| Modifier and Type | Field and Description |
|---|---|
private static ThreadLocal<AzureTaskContext.Node> |
context |
protected Deque<IAzureOperation> |
operations |
protected long |
threadId |
| Modifier | Constructor and Description |
|---|---|
private |
AzureTaskContext() |
private |
AzureTaskContext(long threadId,
Deque<IAzureOperation> operations) |
| Modifier and Type | Method and Description |
|---|---|
static AzureTaskContext.Node |
current() |
static Deque<IAzureOperation> |
getContextOperations() |
static Deque<IAzureOperation> |
getContextOperations(AzureTaskContext.Node node) |
String |
getId() |
Deque<IAzureOperation> |
getOperations() |
static void |
run(Runnable runnable,
AzureTaskContext.Node context) |
private static final ThreadLocal<AzureTaskContext.Node> context
protected long threadId
protected final Deque<IAzureOperation> operations
private AzureTaskContext()
private AzureTaskContext(long threadId,
Deque<IAzureOperation> operations)
public Deque<IAzureOperation> getOperations()
public static Deque<IAzureOperation> getContextOperations(AzureTaskContext.Node node)
public static Deque<IAzureOperation> getContextOperations()
public static AzureTaskContext.Node current()
public static void run(Runnable runnable, AzureTaskContext.Node context)
public String getId()
Copyright © 2021. All rights reserved.