|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.eureka.CurrentRequestVersion
public final class CurrentRequestVersion
A thread-scoped value that holds the "current Version" for the
request.
This is not intended as a general mechanism for passing data. Rather it is here to support those cases where someplace deep in a library we need to know about the context of the request that initially triggered the current request.
| Method Summary | |
|---|---|
static Version |
get()
Gets the current Version
Will return null if no current version has been set. |
static void |
set(Version version)
Sets the current Version |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Version get()
Version
Will return null if no current version has been set.
public static void set(Version version)
Version
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||