public class Entry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Entry.ContextType
Identifies the type of a work context
OPAQUE is a special type that identifies a context that came over the wire
that could not be instantiated.
|
| Constructor and Description |
|---|
Entry(Object context,
EnumSet<PropagationMode> propModes,
Entry.ContextType contextType)
Dedicated constructor, set the work context, it propagation mode and type.
|
| Modifier and Type | Method and Description |
|---|---|
static Entry |
createOpaqueEntryInstance(Object context,
EnumSet<PropagationMode> propModes,
String className) |
static Entry |
createViewEntryInstance(Object context,
EnumSet<PropagationMode> propModes,
ViewImpl view) |
String |
getClassName() |
Entry.ContextType |
getContextType() |
EnumSet<PropagationMode> |
getPropagationModes() |
<U> U |
getValue() |
View |
getView() |
Entry |
init(Boolean isOriginator,
Boolean allowAllToRead)
Utility method to set additional metadata.
|
String |
toString() |
public Entry(Object context, EnumSet<PropagationMode> propModes, Entry.ContextType contextType)
context - propModes - contextType - public View getView()
public static Entry createViewEntryInstance(Object context, EnumSet<PropagationMode> propModes, ViewImpl view)
public String getClassName()
public static Entry createOpaqueEntryInstance(Object context, EnumSet<PropagationMode> propModes, String className)
public Entry init(Boolean isOriginator, Boolean allowAllToRead)
isOriginator - allowAllToRead - public Entry.ContextType getContextType()
public <U> U getValue()
public EnumSet<PropagationMode> getPropagationModes()
Copyright © 2019. All rights reserved.