public class ClusterContextThreadLocal extends Object
| Modifier and Type | Field and Description |
|---|---|
private static ThreadLocal<ClusterContext> |
contextHolder |
| Constructor and Description |
|---|
ClusterContextThreadLocal() |
| Modifier and Type | Method and Description |
|---|---|
static ClusterContext |
createEmptyContext() |
static ClusterContext |
getContext() |
static void |
removeContext() |
static void |
setContext(ClusterContext context) |
private static final ThreadLocal<ClusterContext> contextHolder
public static void removeContext()
public static ClusterContext createEmptyContext()
public static ClusterContext getContext()
public static void setContext(ClusterContext context)
Copyright © 2016 Apache NiFi Project. All rights reserved.