public class CallerContext
extends java.lang.Object
Reference:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/CallerContext.java
Modifier and Type | Class and Description |
---|---|
static class |
CallerContext.Builder
Builder to create a caller context.
|
static class |
CallerContext.CallerContextHolder
A thread local holder for the CallerContext.
|
Modifier and Type | Method and Description |
---|---|
static CallerContext.Builder |
builder()
Create a new builder for the CallerContext.
|
java.util.Map<java.lang.String,java.lang.String> |
context()
Returns the context map in the caller context.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public java.util.Map<java.lang.String,java.lang.String> context()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static CallerContext.Builder builder()