Last active
August 29, 2015 14:21
-
-
Save dpsoft/b2c29976d405a6de6789 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TraceLocalKey<String> stringKey = TraceLocal.newTraceLocalKey(); | |
TraceLocal.store(stringKey, "Pepe"); | |
Option<String> retrieve = TraceLocal.retrieve(stringKey); //option | |
String retrieve = TraceLocal.get(stringKey); | |
System.out.println(retrieve); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment